Closed wmbelk closed 1 year ago
url = 'http://iridl.ldeo.columbia.edu/SOURCES/.Models/.NMME/.COLA-RSMAS-CCSM4/.MONTHLY/.sst/dods'
ds =xr.open_dataset(url, decode_times=False)
needed this install to read the 4 version conda install -c conda-forge netcdf4
Get pint-xarray for units
Aslo for lat and long in degrees_north you need cf_xarray and geoviews(not old version, wivh installled by default) conda install -c conda-forge cf_xarray conda install -c conda-forge cartopy pip install geoviews==1.9.6 (trying this)
https://ncar.github.io/esds/posts/2022/xarray-groupby-vs-geocat-climatology/
more: https://ncar.github.io/esds/
ds = xr.open_dataset('603321.sst.sst.mnmean.nc') ds = ds.sst # Pull out the sea surface temperature data ds = ds.isel( time=range(1, 49) ) # Remove the first data point so that we have an equal number of data points from each month