ClimateMatchAcademy / course-content

BSD 3-Clause "New" or "Revised" License
32 stars 49 forks source link

For Ocean_acid project #226

Open OhadZivan opened 1 year ago

OhadZivan commented 1 year ago

2 issues: for the PH datasets, code to remove the attrbs is needed on colab only:

ds_pH = xr.open_dataset(pooch_load(url_SurfacepH,filename_SurfacepH)) ds_pH.attrs='' ds_pH

updating the new (old) dataset. the FTP provided is temporary : filename_CO2_CAMS= 'SSTyCO2_CAMS_Copernicus_data.nc' url_CO2_CAMS='ftp://livftp.noc.ac.uk/noc/gmayapub/data/CMA/SSTyCO2_CAMS_Copernicus_data.nc' ds_CO2_CAMS =xr.open_dataset(pooch_load(url_CO2_CAMS,filename_CO2_CAMS)) ds_CO2_CAMS

OhadZivan commented 1 year ago

for the pH datasets, the lot and lan index are wrong. need to use the variables stored inside the dataset: "Hmm..seems like the actual coordinates were stored in the longitude and latitude variables and the coordinates were just dummy values going from 0 to number of coordinates. "

discord link (has an image, check the code in it): https://discord.com/channels/1125460174195404870/1131254228967501886/1131497387244929054