Deepak Cherian

Results 1084 comments of Deepak Cherian

Still like `mippy`! or `catnip` : Climate Analysis Tools & Nukes (?) for Inter-comparison Projects

`pop_tools` has a `lateral_fill` algorithm you could try. cc @ALDepp

This bit of code originally from Ryan should be useful for adding the attributes: https://github.com/NCAR/pop-tools/blob/f8dc20b9962e0fdc7b9a1995503e368ff326e3e7/pop_tools/xgcm_util.py#L35-L44

Nice work @rwegener2 . The `history` attribute is only added when `.cf.add_canonical_attributes` adds something. I think you'll want to write a test like @jbusecke suggested. These are the attributes that...

> .cf.add_canonical_attributes I think you want to avoid this. It adds units which could be totally wrong. You can skip that with `skip="units"` but I don't think it adds anything...

There is a CF convention for this metadata: see https://github.com/xarray-contrib/cf-xarray/issues/199

`.cf.guess_coord_axis` and `.cf.add_canonical_attributes` may be useful. https://cf-xarray.readthedocs.io/en/latest/generated/xarray.DataArray.cf.guess_coord_axis.html#xarray.DataArray.cf.guess_coord_axis https://cf-xarray.readthedocs.io/en/latest/generated/xarray.DataArray.cf.add_canonical_attributes.html#xarray.DataArray.cf.add_canonical_attributes