-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Doc]: are there some xcdat test files (that can be predownloaded) ? #277
Comments
I like this idea, but I'm wondering how this be implemented in a way that is easy to maintain. Perhaps we could add some functionality to directly download (e.g., from ESGF) example netCDF files (e.g., I was curious about what xarray does – it seems like they generate toy data rather than providing data. Should this be a discussion item? |
This is the up-to-date link for toy data you mentioned, but I'd rather have data coming from actual netCDF files than toy data generated in memory! Some not-too-big test data files could come from ESGF, the way I've done it in #284, but we also need a way to get other static/known test data files:
I have just checked that cartopy mostly generates toy data on the fly for its examples, but iris uses a directory with actual data files (the way
|
Thanks for this @jypeter. This has been discussed and was in-mind, although a GH issue was not opened for it. I explored a possible implementation similar to xarray. xarray uses a GH repo (https://github.com/pydata/xarray-data) to host test datasets, and provides We didn't pursue this idea since xarray supports direct download of data using OpenDAP. However, I think this idea is worthwhile because it standardizes and streamlines the testing processes with easy access to the same real-world datasets. |
Hmmm, I had a quick look at the
Having a dedicated python package with just the data could also be an easy solution: e.g. basemap-data-hires |
Another data sample example from xoa
|
@tomvothecoder was there a plan to have a test suite with just the kind of (few timesteps) data that @jypeter was describing? It seems that |
Note: see example usage of |
I have added an Easy to use datasets section to my python page, with test/tutorials datasets from several packages @tomvothecoder It seems that xarray uses xarray.tutorial.load_dataset. Maybe xcdat could have a similar |
We need to revisit this issue because we use OPeNDAP for E3SM data in our gallery notebooks. OPeNDAP might not be supported anymore by ESGF2 in the near future, specifically at ANL where E3SM data will be hosted. Options:
|
Describe your documentation update
I wonder if there are xCDAT (or xarray) test files that can be (pre)downloaded and can be used for :
I'm thinking of (something like) the cdms2/vcs test data
I think these files are the ones listed in CDMS Sample Dataset and they are still online!
The text was updated successfully, but these errors were encountered: