Skip to content

Concatenate IVT from MERRA2 reanalysis #5072

Discussion options

You must be logged in to vote

Hi @laisgfernandes. The values in a DimCoord (DimCoord.points) are a standard NumPy ndarray, so the correct way of changing type is to use ndarray.astype() on the DimCoord's points, e.g.:

import numpy as np

my_coord = IVT.coord("time")
my_coord.points = my_coord.points.astype(np.float64)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laisgfernandes
Comment options

Answer selected by trexfeathers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants