ua-snap / cmip6-utils

Pipelines and utilites for working with CMIP6 data
1 stars 1 forks source link

Replace 0-360 with standard longitude coordinates #30

Closed Joshdpaul closed 8 months ago

Joshdpaul commented 9 months ago

If implemented during the regridding pipeline, the downstream indicators would also inherit the -180 to 180 longitude.

I think this will be a simple subtraction operation, followed by a sort:

ds['lon'] = ds['lon'] - 180
ds = ds.sortby(ds.lon)
Joshdpaul commented 9 months ago

The notebook in #25 has a basic workflow for coverting to standard longitude