-
Notifications
You must be signed in to change notification settings - Fork 2
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
docker: new build to get updates and add cfgrib #56
Conversation
For GEPS forecasts at http://dd.weather.gc.ca/ensemble/geps/grib2/raw/. Docker file size increase is 159MB.
@tlogan2000 @Zeitsperre note |
Nope. That's news to me! I imagine that it's not a huge issue given that |
I am not worried about the upgrade not working. I wonder if this signals some kind of fundamental changes in their release stability. Recall with simver, if minor version change, we expect backward compat changes. If just patch version change, it's probably very safe to not even need to test extensively. This "convention" is out of the window with rolling release using date as version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok. Thanks for the heads-up of new dask 's new {year}.{month} numbering of releases
Hopefully by eyeballing the commits description will give you guys some hints. |
I had to fight dask in the last week so I took time to quickly read the changelog. Nothing changed that would directly impact pavics I think. Some things might open new possibilities for xarray, but we'll have to wait before it comes up to us. |
…ntime Run convert_grib2_to_nc.py inside a Docker container for reproducible runtime environment. Added the only missing `cfgrib` package to our PAVICS Jupyter image and used our PAVICS Jupyter image as the runtime environment so other users can also perform the same task as Travis on our Jupyter if needed. The Jupyter image is always present on Boreas so re-using it means no extra space required for the runtime of the script (except the extra 159MB for `cfgrib`). @tlogan2000 Note that I had to repeat the the 3 paths (inpath, outpath, threddspath) to the wrapper script as well so if you ever need to modify those paths, you should modify in both scripts. I've left comments in the code as reminder that there are duplicates. @huard For your Intake catalog project, you can write a script similar to `convert_grib2_to_nc.py` and I'll automate its deployment and execution the same way. Automated deployment and update is handled by PR bird-house/birdhouse-deploy-ouranos#2. Requires PR Ouranosinc/PAVICS-e2e-workflow-tests#56 for the runtime environment. Part of issue #19 and issue Ouranosinc/raven#313.
…ins-failure catalog_search.ipynb: fix help() output change that broke Jenkins The change is 'None' to None (without the surrounding quote). Jenkins error due to upgrade from pavics/workflow-tests:201111 to pavics/workflow-tests:201214 (PR Ouranosinc/PAVICS-e2e-workflow-tests#56) ``` _____ pavics-sdi-master/docs/source/notebooks/catalog_search.ipynb::Cell 0 _____ Notebook cell execution failed Cell 0: Cell outputs differ Input: import collections from birdy import WPSClient url = "https://pavics.ouranos.ca/twitcher/ows/proxy/catalog/wps" wps = WPSClient(url) help(wps.pavicsearch) Traceback: mismatch 'stdout' assert reference_output == test_output failed: 'Help on meth...h result.\n\n' == 'Help on meth...h result.\n\n' Skipping 66 identical leading characters in diff, use -v to show - ch(facets=None, shards='*', offset=0, limit=0, fields='*', format='application/solr+json', query='*', distrib=False, type='Dataset', constraints=None, esgf=False, list_type='opendap_url') method of birdy.client.base.WPSClient instance ? ^ ^ + ch(facets='None', shards='*', offset=0, limit=0, fields='*', format='application/solr+json', query='*', distrib=False, type='Dataset', constraints='None', esgf=False, list_type='opendap_url') method of birdy.client.base.WPSClient instance ? + ^^ + ^^ Search the PAVICS database and return a catalogue of matches. Parameters ---------- facets : string Comma separated list of facets; facets are searchable indexing terms in the database. shards : string Shards to be queried ```
Relevant changes: ```diff > - cfgrib=0.9.8.5=pyhd8ed1ab_0 < - clisops=0.3.1=pyh32f6830_1 > - clisops=0.4.0=pyhd3deb0d_0 < - dask=2.30.0=py_0 > - dask=2020.12.0=pyhd8ed1ab_0 < - owslib=0.20.0=py_0 > - owslib=0.21.0=pyhd8ed1ab_0 < - xarray=0.16.1=py_0 > - xarray=0.16.2=pyhd8ed1ab_0 < - xclim=0.21.0=py_0 > - xclim=0.22.0=pyhd8ed1ab_0 < - jupyter_conda=3.4.1=pyh9f0ad1d_0 > - jupyter_conda=4.1.0=hd8ed1ab_1 ``` See PR Ouranosinc/PAVICS-e2e-workflow-tests#56 for more details.
jupyter: update to version 201214 Matching PR to deploy the new Jupyter env in PR Ouranosinc/PAVICS-e2e-workflow-tests#56 to PAVICS. Relevant changes: ```diff > - cfgrib=0.9.8.5=pyhd8ed1ab_0 < - clisops=0.3.1=pyh32f6830_1 > - clisops=0.4.0=pyhd3deb0d_0 < - dask=2.30.0=py_0 > - dask=2020.12.0=pyhd8ed1ab_0 < - owslib=0.20.0=py_0 > - owslib=0.21.0=pyhd8ed1ab_0 < - xarray=0.16.1=py_0 > - xarray=0.16.2=pyhd8ed1ab_0 < - xclim=0.21.0=py_0 > - xclim=0.22.0=pyhd8ed1ab_0 < - jupyter_conda=3.4.1=pyh9f0ad1d_0 > - jupyter_conda=4.1.0=hd8ed1ab_1 ```
cfgrib
added for PR Ouranosinc/pavics-vdb#21.Jenkins build with known error only: http://jenkins.ouranos.ca/job/PAVICS-e2e-workflow-tests/job/new-docker-build-with-cfgrib/2/console
Corresponding test fix Ouranosinc/pavics-sdi#195.
Corresponding PR to deploy to PAVICS bird-house/birdhouse-deploy#112.
Relevant changes:
Full
conda env export
diff:201111-201214-conda-env-export.diff.txt
Full new
conda env export
:201214-conda-env-export.yml.txt