cedadev / nappy

NASA Ames Processing in PYthon (NAPPy) - a Python library for reading, writing and converting NASA Ames files.
BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

Get nappy working with Xarray #23

Closed agstephens closed 3 years ago

agstephens commented 3 years ago

This is quite a big task, because there is a lot of code that translates NASA Ames concepts/objects to/from NetCDF-style concepts. However, it is more complex than that because we previously used cdms as the library to convert to NetCDF. Now, we are moving to xarray.

NOTE: Initially, we only need the Xarray-to-NASAAmes|CSV functionality to work!

Here is an overview of the order of tasks:

cdms_utils.axis_utils.isUniformlySpaced(axis) cdms_utils.axis_utils.areAxesIdentical(ax1, ax2) cdms_utils.axis_utils.isAxisRegularlySpacedSubsetOf(ax1, ax2)


- [x] Then it's a brute force (let's get it working approach!)