-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RaggedArray from numerical #40
Comments
I'll play with it and let you know what I find. |
The latest version of ocean parcels now outputs in zarr format, see https://github.com/OceanParcels/parcels/releases/tag/v2.4.0. It is a priority to write a new recipe that takes such zarr output (still written as a sparse 2D array) into a RaggedArray. We also should add a functionality to output the RaggedArray to zarr with |
When you open the netCDF with For the data used in the example Notebook: But as I said in the top of the Notebook, the format is very close to the output format of Ocean Parcels and OpenDrift, so with a Parcels file the origin might be different. I don't remember now if by default it is a constant origin or it is set to the start of the experiment. |
I am following the example
dataformat-numerical.ipynb
to convert the output of an ocean parcels simulation to a ragged array and save to a NetCDF file but I do not understand how the time variable is handled and/or if the units can be specified. The NetCDF file written by parcels contain the variable time in units of seconds since a pivot date but the NetCDF file written by clouddrift after converting to a ragged array seems to be in minutes since the origin of the experiment. I dug throughdataformat.py
to understand but could not figure it out.The text was updated successfully, but these errors were encountered: