-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fetching data from the Argo reference dataset #53
Comments
Currently, there is no available API to access CTD reference data via pyowc. CTD data can be only accessed by pyowc locally by reading your mat files from your local archive. |
@kamwal you're right, CTD reference data are not yet available from argopy since it's not available from the Ifremer erdapp either. Only Argo reference data are available from argopy |
Ok, thanks. And which format shoud the CTD reference have to make it available in the Ifremer erdapp? netCDF I guess... It is possible to password protect the data in the erdapp? |
The issue is not the format but the user authentification |
I think this ticket is not relevant with a main code functionality |
sorry @kamwal I don't understand |
hi there, Argo floats reference dataset for DMQCfrom argopy import DataFetcher
loader = DataFetcher(src='erddap', ds='ref')
ds = loader.region([-85, -45, 10, 20, 0, 1000, ‘2012-01’, ‘2012-02’]).to_xarray() Ship-CTD reference dataset for DMQCUsing user/password new argopy options, it is possible to fetch the Argo CTD reference database, with the CTDRefDataFetcher class. (#256) by G. Maze from argopy import CTDRefDataFetcher
with argopy.set_options(user="john_doe", password="***"):
f = CTDRefDataFetcher(box=[15, 30, -70, -60, 0, 5000.0])
ds = f.to_xarray() We're waiting for someone at @euroargodev/coriolis to update the erddap server for you to be able to use your login/password as provided by @coatanoan at the time of your request of the reference dataset. When this will be done, we'll be good to go to update pywoc to fetch reference data online |
It's probably still too early, but argopy is able to fetch and return data from the Argo reference dataset !
we could develop an access point that would work with owc, ie using distances instead of a rectangular space/time domain
Originally posted by @gmaze in #30 (comment)
The text was updated successfully, but these errors were encountered: