Functions/examples on converting DCPP output to xarray/netCDF structure
See original GitHub issueThis was mentioned by @aaronspring in the scope document. It would be great to have some functions to convert raw DCPP output into climpred
-friendly xarray format. I’m not sure if this could be a simple function, since it takes order tens of minutes with dask jobqueue even to do this. Perhaps a few utility functions and a well-written example notebook would be a good start.
@emaroon at NCAR made a notebook using dask
to convert our raw CESM-DPLE into a single merged netCDF here: https://gist.github.com/bradyrx/4db8c35f3239f91dc17185441c730137. I could clean this up and make utility functions and test it out on some arbitrary DCPP output from CMIP6. I think we have some sitting on tape on either Cheyenne or Cori.
Any thoughts?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
Reading and writing files - Xarray
As netCDF files correspond to Dataset objects, these functions internally convert the DataArray to a Dataset before saving, and then convert ...
Read more >Handling NetCDF Files using XArray for Absolute Beginners
Quick guide to manipulate NetCDF data.
Read more >The NetCDF NCZarr Implementation
Specifically the XArray ''_ARRAY_DIMENSIONS'' attribute is one such. There are two other, secondary assumption: The actual storage format in which the dataset ...
Read more >Exploring netCDF Datasets Using the xarray Package
This notebook provides discussion, examples, and best practices for working with netCDF datasets in Python using the xarray package. Topics include: The xarray...
Read more >Serialization and IO - xarray - Read the Docs
The recommended way to store xarray data structures is netCDF, ... these functions internally convert the DataArray to a Dataset before saving, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://nbviewer.jupyter.org/github/aaronspring/pymistral/blob/master/notebooks/intake_DCPP.ipynb
We should add a notebook like this to the docs (once the output is available)
This will be added to the docs once we address the bootstrap issues.