Skip to content

Commit

Permalink
Merge pull request #166 from Ouranosinc/fix-wms_example.ipynb-change-…
Browse files Browse the repository at this point in the history
…due-to-server-change


WMS_example.ipynb: upstream server changed the number of layers.

Seems that layer `2018-09-19/2019-06-02/P1D` and `2019-06-04/2019-08-18/P1D`
have been combined into layer `2018-09-19/2020-04-21/P1D`.

Jenkins passing: http://jenkins.ouranos.ca/job/PAVICS-e2e-workflow-tests/job/master/569/console

Fix the following Jenkins failure:

```
20:35:55  ______ pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb::Cell 3 _______
20:35:55  Notebook cell execution failed
20:35:55  Cell 3: Cell outputs differ
20:35:55
20:35:55  Input:
20:35:55  from IPython.core.display import HTML
20:35:55
20:35:55  name = 'MOD_143D_RR'
20:35:55  layer = wms.contents[name]
20:35:55  print("Abstract: ", layer.abstract)
20:35:55  print("BBox: ", layer.boundingBoxWGS84)
20:35:55  print("CRS: ", layer.crsOptions)
20:35:55  print("Styles: ", layer.styles)
20:35:55  print("Timestamps: ", layer.timepositions)
20:35:55  HTML(layer.parent.abstract)
20:35:55
20:35:55  Traceback:
20:35:55   mismatch 'stdout'
20:35:55
20:35:55   assert reference_output == test_output failed:
20:35:55
20:35:55    "Abstract:  N.../DATE/P1D']\n" == "Abstract:  N.../DATE/P1D']\n"
20:35:55    Skipping 956 identical leading characters in diff, use -v to show
20:35:55    - /DATE/P1D', '2019-06-04/DATE/P1D']
20:35:55    + /DATE/P1D']
```
  • Loading branch information
tlvu authored Apr 23, 2020
2 parents f108f26 + b13a970 commit f69568d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/notebooks/WMS_example.ipynb

Large diffs are not rendered by default.

0 comments on commit f69568d

Please sign in to comment.