-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
It took me some time to find how to download the traditional test data files and I eventually found vcs.download_sample_data_files in one of the tutorials
Some remarks about it:
- is it documented somewhere else than in the tutorials?
- can somebody add a docstring to it? At least add a note that the path to the downloaded data is specified in vcs.sample_data
- should there be a similar function in cdms2? Or maybe this function should be in cdms2 to avoid duplicate? Because anyway you will use cdms2 to open the data files
- is there a way to make a conda package with the sample data, a bit like there is a conda package for the high resolution basemap data? What you get with: conda install --c conda-forge basemap-data-hires
- I thought the following ways to easily install the test data would be equivalent, but the first one does not work
(cdatm14) [jypmce@ciclad-ng ~]$ python -m vcs -c 'vcs.download_sample_data_files()'
/data/jypmce/cdat/miniconda2/envs/cdatm14/bin/python: No module named vcs.__main__; 'vcs' is a package and cannot be directly executed
(cdatm14) [jypmce@ciclad-ng ~]$ python -c 'import vcs; vcs.download_sample_data_files()'
Downloading: sftlf_visus.nc in /data/jypmce/cdat/miniconda2/envs/cdatm14/share/uvcdat/sample_data/sftlf_visus.nc
Downloading: so_Omon_ACCESS1-0_historical_r1i1p1_185001-185412_2timesteps.nc in /data/jypmce/cdat/miniconda2/envs/cdatm14/share/uvcdat/sample_data/so_Omon_ACCESS1-0_historical_r1i1p1_185001-185412_2timesteps.nc
[...]