-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allow extraction of variables without time dimension #434
Comments
This will be supported in the next release and is part of the work related to #374. You are correct that this is an unfortunate limitation. Using |
Great, thanks, I'm delighted to hear that this will be supported in the future.
to get the job done. However my time series has 1250 time steps and the file is 14GB (one of my smallest files), and this operation takes ~30min. Do you think netcdf4python would be faster? The only time I can think of where I need one of the (y,x) variables in postprocessing is when calculating mass fluxes by multiplying with the cell_area, so I could probably do that operation during the model simulation and generate a new diagnostic instead of during postprocessing. Anyway, keep up the good work! |
I'm not sure netcdf4python would be faster in this case - though I don't have much personal experience with NCO speeds. I suppose you could do a parallel Python script but that may end up being more trouble than it's worth. I was thinking that only a single count time dimension would be needed to avoid the current ocgis limitation. I doubt I understand your full requirements, however.
Probably a good idea as you will save on some data wrangling.
Thanks for the well wishes. 😄 |
This functionality will be available in @aaschwanden If you get a change to test, please pass along any feedback! |
Tested it; works for me! Many thanks for your efforts. |
Excellent. Thanks! |
Hi,
I'm running into issues when trying to extract variables like 'lat/lon', that don't have a temporal dimension :
Here the variable only has (y,x) dimensions.
For certain variables, a temporal dimension doesn't make much sense. Would it be possible to support extraction of these variables?
The text was updated successfully, but these errors were encountered: