lesommer / oocgcm

oocgcm is a python library for the analysis of large gridded geophysical dataset.
http://oocgcm.rtfd.io
Apache License 2.0
39 stars 11 forks source link

A decorator for testing chunks/grid_location. #28

Open lesommer opened 8 years ago

lesommer commented 8 years ago

for equation of state related quantities we need to test the compatibility of chunks and grid_location of xarray dataarrays before applying a function that works on numpy arrays. This can be done with a decorator.