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

Issue with reading CMEMS data - Wrong naming of functions #9

Open
joachimBach opened this issue Oct 20, 2021 · 1 comment
Open

Issue with reading CMEMS data - Wrong naming of functions #9

joachimBach opened this issue Oct 20, 2021 · 1 comment

Comments

@joachimBach
Copy link

Hi,

I have tried utilizing the OpenDrift example CMEMS data, which utilizes the Landmask functionality. Currently if you run the function, you would have to rename the "mask.py" function to Landmask.py under the subfolder: opendrift_landmask_data in order for the model to be able to run

@knutfrode
Copy link

Hi,

I believe this should not be necessary, but is probably due to opendrift_landmask_data has been updated in the meantime.
So I would assume it should work if you update that package (and other dependencies) by:

conda env update -f environment.yml
pip install -e .

Btw, since the CMEMS example script was written, the CMEMS data have now become available directly via thredds. Thus if you put your credentials in a .netrc file, you can use this URL directly for the global current field:
https://nrt.cmems-du.eu/thredds/dodsC/global-analysis-forecast-phy-001-024-hourly-merged-uv

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

2 participants