wmbelk / Weather

Baysian Update to environmental data
1 stars 0 forks source link

check out real temp data from NASA #27

Closed wmbelk closed 1 year ago

wmbelk commented 1 year ago

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

wmbelk commented 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)

wmbelk commented 1 year ago

https://www.ncei.noaa.gov/products/extended-reconstructed-sst

wmbelk commented 1 year ago

needed this install to read the 4 version conda install -c conda-forge netcdf4

wmbelk commented 1 year ago

Get pint-xarray for units

https://pint-xarray.readthedocs.io/en/latest/index.html

wmbelk commented 1 year ago

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)