Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Ocean_acid project #226

Open
OhadZivan opened this issue Jul 20, 2023 · 1 comment
Open

For Ocean_acid project #226

OhadZivan opened this issue Jul 20, 2023 · 1 comment

Comments

@OhadZivan
Copy link
Contributor

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant