{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":103436726,"defaultBranch":"master","name":"pavics-sdi","ownerLogin":"Ouranosinc","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-09-13T18:34:45.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1696763?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1713291410.0","currentOid":""},"activityList":{"items":[{"before":"d83799d9b6dd636a9016291d17a5d61e30b3aa9e","after":"1815a39b8fd2610f5fde3069846086a49105488c","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-05-03T15:47:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"2567da21dd565f2e6e71313b5bdcac9ecdeeddd3","after":"d83799d9b6dd636a9016291d17a5d61e30b3aa9e","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-05-03T15:46:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"climex.ipynb: refresh output for Jenkins\n\nAttempt to fix the following error:\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/climex.ipynb::Cell 5 _\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(\n url, chunks=dict(realization=1, time=365, rlat=50 * 3, rlon=50 * 3)\n )\n xclim.set_options(check_missing=\"pct\", missing_options={\"pct\": {\"tolerance\": 0.05}})\n sdii = xclim.atmos.daily_pr_intensity(pr=ds.pr.sel(time=\"2000\"))\n sdii\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/climex.ipynb::Cell 8 _\n Notebook cell execution failed\n Cell 8: Cell outputs differ\n\n Input:\n # Subset over the Montreal gridpoint\n ds = xr.open_dataset(url, chunks=dict(realization=1, time=365 * 50, rlon=25, rlat=25))\n pt = subset_gridpoint(ds, lon=-73.69, lat=45.50)\n print(\"Input dataset for Montreal :\")\n display(pt)\n out = xclim.atmos.max_1day_precipitation_amount(pr=pt.pr, freq=\"YS\")\n print(\"Maximim 1-day precipitation `lazy` output ..\")\n out\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"climex.ipynb: refresh output for Jenkins"}},{"before":"2567da21dd565f2e6e71313b5bdcac9ecdeeddd3","after":"d83799d9b6dd636a9016291d17a5d61e30b3aa9e","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-05-01T18:10:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"climex.ipynb: refresh output for Jenkins\n\nAttempt to fix the following error:\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/climex.ipynb::Cell 5 _\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(\n url, chunks=dict(realization=1, time=365, rlat=50 * 3, rlon=50 * 3)\n )\n xclim.set_options(check_missing=\"pct\", missing_options={\"pct\": {\"tolerance\": 0.05}})\n sdii = xclim.atmos.daily_pr_intensity(pr=ds.pr.sel(time=\"2000\"))\n sdii\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/climex.ipynb::Cell 8 _\n Notebook cell execution failed\n Cell 8: Cell outputs differ\n\n Input:\n # Subset over the Montreal gridpoint\n ds = xr.open_dataset(url, chunks=dict(realization=1, time=365 * 50, rlon=25, rlat=25))\n pt = subset_gridpoint(ds, lon=-73.69, lat=45.50)\n print(\"Input dataset for Montreal :\")\n display(pt)\n out = xclim.atmos.max_1day_precipitation_amount(pr=pt.pr, freq=\"YS\")\n print(\"Maximim 1-day precipitation `lazy` output ..\")\n out\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"climex.ipynb: refresh output for Jenkins"}},{"before":"402ac9b45d8de59e253e20516b6dfec3009686d6","after":"2567da21dd565f2e6e71313b5bdcac9ecdeeddd3","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-04-20T15:07:34.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"26107341eac3e525493c1f56333629c99db5b766","after":"2567da21dd565f2e6e71313b5bdcac9ecdeeddd3","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-04-20T15:06:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"402ac9b45d8de59e253e20516b6dfec3009686d6","after":"26107341eac3e525493c1f56333629c99db5b766","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-04-20T15:06:25.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha"}},{"before":"e0d304ba85e9e893d5fdba81512ecacd4f8eb9c7","after":null,"ref":"refs/heads/update-output-for-jenkins","pushedAt":"2024-04-16T18:16:50.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"}},{"before":"14c3b153ac89d5a028ee8ceb3608de16e1f2d42a","after":"9df29212a7414279234613fd32b5be58dde5e811","ref":"refs/heads/master","pushedAt":"2024-04-16T18:16:49.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"CaSR_basic.ipynb: update output for Jenkins (#326)\n\nFix the following Jenkins failure:\r\n```\r\n _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 0 _______\r\n Notebook cell execution failed\r\n Cell 0: Cell outputs differ\r\n\r\n Input:\r\n import xarray as xr\r\n\r\n url = \"https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/dodsC/datasets/reanalyses/day_RDRSv2.1_NAM.ncml\"\r\n\r\n # Open dataset. For hourly data, we suggest using the following chunking pattern: dict(time=720, rlon=50, rlat=50)\r\n ds = xr.open_dataset(url, chunks=dict(time=1461, rlon=50, rlat=50))\r\n ds\r\n\r\n Traceback:\r\n mismatch 'text/plain'\r\n\r\n assert reference_output == test_output failed:\r\n\r\n '\r\n - sftlf (rlat, rlon) float32 dask.array\r\n - sftof (rlat, rlon) float32 dask.array\r\n tas (time, rlat, rlon) float32 dask.array\r\n tasmin (time, rlat, rlon) float32 dask.array\r\n tasmax (time, rlat, rlon) float32 dask.array\r\n + pr (time, rlat, rlon) float32 dask.array\r\n + tdpsmin (time, rlat, rlon) float32 dask.array\r\n + tdpsmax (time, rlat, rlon) float32 dask.array\r\n ... ...\r\n psl (time, rlat, rlon) float32 dask.array\r\n ps (time, rlat, rlon) float32 dask.array\r\n huss (time, rlat, rlon) float32 dask.array\r\n hursmin (time, rlat, rlon) float32 dask.array\r\n hursmax (time, rlat, rlon) float32 dask.array\r\n hurs (time, rlat, rlon) float32 dask.array\r\n - Attributes: (12/29)\r\n ? ^\r\n + Attributes: (12/28)\r\n ? ^\r\n Conventions: CF-1.8\r\n - Notes: Created from the Gem_geophy.fst file provided by Mi...\r\n + Remarks: Original variable names are following the conventio...\r\n + data_specs_version: 00.00.08\r\n doi: https://doi.org/10.5194/hess-25-4917-2021\r\n - frequency: fx\r\n ? ^^\r\n + frequency: day\r\n ? ^^^\r\n + history: DATE_TIME_NS: Variables converted fro...\r\n - license: https://eccc-msc.github.io/open-data/licence/readme...\r\n - organisation: ECCC\r\n ... ...\r\n institute_id: ECCC\r\n dataset_id: RDRSv2.1\r\n abstract: Environment and Climate Change Canada has initiated...\r\n dataset_description: https://doi.org/10.5194/hess-25-4917-2021\r\n license_type: permissive\r\n citation: Gasset, N., Fortin, V., Dimitrijevic, M., Carrera, ...\r\n\r\n _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 1 _______\r\n Notebook cell execution failed\r\n Cell 1: Cell outputs differ\r\n\r\n Input:\r\n from clisops.core import subset\r\n from dask.diagnostics import ProgressBar\r\n from matplotlib import pyplot as plt\r\n\r\n # Subset bounding box\r\n lon_bnds = [-70, -55]\r\n lat_bnds = [44, 55]\r\n\r\n # Loading the coordinate data speeds up the subsetting process a little\r\n for coord in [\"lat\", \"lon\"]:\r\n ds[coord] = ds[coord].load()\r\n\r\n # Subset bbox\r\n bbox = subset.subset_bbox(\r\n ds, lon_bnds=lon_bnds, lat_bnds=lat_bnds, start_date=\"1981\", end_date=\"2010\"\r\n )\r\n\r\n # Subset gridpoint\r\n site = subset.subset_gridpoint(ds, lat=40, lon=-60)\r\n\r\n with xr.set_options(display_expand_data_vars=False, display_expand_coords=False):\r\n display(bbox)\r\n display(site)\r\n\r\n Traceback:\r\n mismatch 'text/plain'\r\n\r\n assert reference_output == test_output failed:\r\n\r\n '#326)"}},{"before":"7b7cfd398ad0b2e21f41ca0a2c01915082305eb5","after":"e0d304ba85e9e893d5fdba81512ecacd4f8eb9c7","ref":"refs/heads/update-output-for-jenkins","pushedAt":"2024-04-16T16:54:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"14c3b153ac89d5a028ee8ceb3608de16e1f2d42a","after":"7b7cfd398ad0b2e21f41ca0a2c01915082305eb5","ref":"refs/heads/update-output-for-jenkins","pushedAt":"2024-04-16T16:22:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"CaSR_basic.ipynb: update output for Jenkins\n\nFix the following Jenkins failure:\n```\n _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 0 _______\n Notebook cell execution failed\n Cell 0: Cell outputs differ\n\n Input:\n import xarray as xr\n\n url = \"https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/dodsC/datasets/reanalyses/day_RDRSv2.1_NAM.ncml\"\n\n # Open dataset. For hourly data, we suggest using the following chunking pattern: dict(time=720, rlon=50, rlat=50)\n ds = xr.open_dataset(url, chunks=dict(time=1461, rlon=50, rlat=50))\n ds\n\n Traceback:\n mismatch 'text/plain'\n\n assert reference_output == test_output failed:\n\n '\n - sftlf (rlat, rlon) float32 dask.array\n - sftof (rlat, rlon) float32 dask.array\n tas (time, rlat, rlon) float32 dask.array\n tasmin (time, rlat, rlon) float32 dask.array\n tasmax (time, rlat, rlon) float32 dask.array\n + pr (time, rlat, rlon) float32 dask.array\n + tdpsmin (time, rlat, rlon) float32 dask.array\n + tdpsmax (time, rlat, rlon) float32 dask.array\n ... ...\n psl (time, rlat, rlon) float32 dask.array\n ps (time, rlat, rlon) float32 dask.array\n huss (time, rlat, rlon) float32 dask.array\n hursmin (time, rlat, rlon) float32 dask.array\n hursmax (time, rlat, rlon) float32 dask.array\n hurs (time, rlat, rlon) float32 dask.array\n - Attributes: (12/29)\n ? ^\n + Attributes: (12/28)\n ? ^\n Conventions: CF-1.8\n - Notes: Created from the Gem_geophy.fst file provided by Mi...\n + Remarks: Original variable names are following the conventio...\n + data_specs_version: 00.00.08\n doi: https://doi.org/10.5194/hess-25-4917-2021\n - frequency: fx\n ? ^^\n + frequency: day\n ? ^^^\n + history: DATE_TIME_NS: Variables converted fro...\n - license: https://eccc-msc.github.io/open-data/licence/readme...\n - organisation: ECCC\n ... ...\n institute_id: ECCC\n dataset_id: RDRSv2.1\n abstract: Environment and Climate Change Canada has initiated...\n dataset_description: https://doi.org/10.5194/hess-25-4917-2021\n license_type: permissive\n citation: Gasset, N., Fortin, V., Dimitrijevic, M., Carrera, ...\n\n _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 1 _______\n Notebook cell execution failed\n Cell 1: Cell outputs differ\n\n Input:\n from clisops.core import subset\n from dask.diagnostics import ProgressBar\n from matplotlib import pyplot as plt\n\n # Subset bounding box\n lon_bnds = [-70, -55]\n lat_bnds = [44, 55]\n\n # Loading the coordinate data speeds up the subsetting process a little\n for coord in [\"lat\", \"lon\"]:\n ds[coord] = ds[coord].load()\n\n # Subset bbox\n bbox = subset.subset_bbox(\n ds, lon_bnds=lon_bnds, lat_bnds=lat_bnds, start_date=\"1981\", end_date=\"2010\"\n )\n\n # Subset gridpoint\n site = subset.subset_gridpoint(ds, lat=40, lon=-60)\n\n with xr.set_options(display_expand_data_vars=False, display_expand_coords=False):\n display(bbox)\n display(site)\n\n Traceback:\n mismatch 'text/plain'\n\n assert reference_output == test_output failed:\n\n '\r\nupdates:\r\n- [github.com/asottile/pyupgrade: v3.15.0 →\r\nv3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2)\r\n- [github.com/psf/black-pre-commit-mirror: 23.12.1 →\r\n24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.3.0)\r\n- [github.com/nbQA-dev/nbQA: 1.7.1 →\r\n1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.1...1.8.5)\r\n- [github.com/kynan/nbstripout: 0.6.1 →\r\n0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1)\r\n","shortMessageHtmlLink":"[pre-commit.ci] pre-commit autoupdate (#325)"}},{"before":"d7f56fa73c5d793f7effce08cfe8e7b72d904585","after":null,"ref":"refs/heads/pre-commit-ci-update-config","pushedAt":"2024-04-16T15:44:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Zeitsperre","name":"Trevor James Smith","path":"/Zeitsperre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10819524?s=80&v=4"}},{"before":"cf6db2a8ac61e9752fd6944c7c1b4ef1f8111409","after":"14c3b153ac89d5a028ee8ceb3608de16e1f2d42a","ref":"refs/heads/master","pushedAt":"2024-04-16T15:44:39.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"Zeitsperre","name":"Trevor James Smith","path":"/Zeitsperre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10819524?s=80&v=4"},"commit":{"message":"[pre-commit.ci] pre-commit autoupdate (#325)\n\n\r\nupdates:\r\n- [github.com/asottile/pyupgrade: v3.15.0 →\r\nv3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2)\r\n- [github.com/psf/black-pre-commit-mirror: 23.12.1 →\r\n24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.3.0)\r\n- [github.com/nbQA-dev/nbQA: 1.7.1 →\r\n1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.1...1.8.5)\r\n- [github.com/kynan/nbstripout: 0.6.1 →\r\n0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1)\r\n","shortMessageHtmlLink":"[pre-commit.ci] pre-commit autoupdate (#325)"}},{"before":"deb69ed0a0312d5614bf6755c6f224fdb2cdd535","after":"d7f56fa73c5d793f7effce08cfe8e7b72d904585","ref":"refs/heads/pre-commit-ci-update-config","pushedAt":"2024-04-16T15:14:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Zeitsperre","name":"Trevor James Smith","path":"/Zeitsperre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10819524?s=80&v=4"},"commit":{"message":"Update .pre-commit-config.yaml","shortMessageHtmlLink":"Update .pre-commit-config.yaml"}},{"before":"322a4b52239d9cbf9392ad4aa75fcefd5bfd4449","after":"deb69ed0a0312d5614bf6755c6f224fdb2cdd535","ref":"refs/heads/pre-commit-ci-update-config","pushedAt":"2024-04-01T21:38:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":null,"after":"322a4b52239d9cbf9392ad4aa75fcefd5bfd4449","ref":"refs/heads/pre-commit-ci-update-config","pushedAt":"2024-04-01T21:38:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] pre-commit autoupdate\n\nupdates:\n- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2)\n- [github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.3.0)\n- [github.com/nbQA-dev/nbQA: 1.7.1 → 1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.1...1.8.5)\n- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1)","shortMessageHtmlLink":"[pre-commit.ci] pre-commit autoupdate"}},{"before":"7bc81cbec786eb14a5f25988acb2f4c035d0cb26","after":"402ac9b45d8de59e253e20516b6dfec3009686d6","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-03-28T17:00:00.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha"}},{"before":"7bc81cbec786eb14a5f25988acb2f4c035d0cb26","after":"402ac9b45d8de59e253e20516b6dfec3009686d6","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-03-28T16:59:27.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/master' into fix_nbs_jupyter_alpha"}},{"before":"ce75e300c1d28168e8d25e4f6cbaa47becd35e23","after":null,"ref":"refs/heads/refresh-WCS_example.ipynb-upstream-updated","pushedAt":"2024-03-28T16:58:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"}},{"before":"b52c4d0ed33e3b2d5be4b2e38cbaacfb894a69d3","after":"cf6db2a8ac61e9752fd6944c7c1b4ef1f8111409","ref":"refs/heads/master","pushedAt":"2024-03-28T16:58:00.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"WCS_example.ipynb: refresh output for Jenkins (upstream server updated) (#324)\n\nUpstream added `application/x-grib2` and `crs |S1 ...`.\r\n\r\n```\r\n ______ pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb::Cell 2 _______\r\n Notebook cell execution failed\r\n Cell 2: Cell outputs differ\r\n\r\n Input:\r\n layerid = \"OCEAN.GIOPS.3D_SALW_0000\"\r\n temp = wcs[layerid]\r\n # Title\r\n print(\"Layer title :\", temp.title)\r\n # bounding box\r\n print(\"BoundingBox :\", temp.boundingBoxWGS84)\r\n # supported data formats - we'll use geotiff\r\n print(\"Formats :\", temp.supportedFormats)\r\n # grid dimensions\r\n print(\"Grid upper limits :\", temp.grid.highlimits)\r\n\r\n Traceback:\r\n mismatch 'stdout'\r\n\r\n assert reference_output == test_output failed:\r\n\r\n \"Layer title ...99', '849']\\n\" == \"Layer title ...99', '849']\\n\"\r\n Skipping 89 identical leading characters in diff, use -v to show\r\n - netcdf', 'application/x-grib2', 'image/png', 'image/jpeg', 'image/png; mode=8bit', 'image/vnd.jpeg-png', 'image/vnd.jpeg-png8']\r\n ? -----------------------\r\n + netcdf', 'image/png', 'image/jpeg', 'image/png; mode=8bit', 'image/vnd.jpeg-png', 'image/vnd.jpeg-png8']\r\n Grid upper limits : ['1799', '849']\r\n\r\n ______ pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb::Cell 5 _______\r\n Notebook cell execution failed\r\n Cell 5: Cell outputs differ\r\n\r\n Input:\r\n ds = xr.open_dataset(fn)\r\n print(ds.data_vars)\r\n ds.Band1.plot()\r\n plt.show()\r\n\r\n Traceback:\r\n mismatch 'stdout'\r\n\r\n assert reference_output == test_output failed:\r\n\r\n 'Data variabl...float32 ...\\n' == 'Data variabl...float32 ...\\n'\r\n Data variables:\r\n - crs |S1 ...\r\n Band1 (lat, lon) float32 ...\r\n```","shortMessageHtmlLink":"WCS_example.ipynb: refresh output for Jenkins (upstream server update…"}},{"before":"5d2c5285eb12e2e10acdde302fe171277ae192e4","after":"7bc81cbec786eb14a5f25988acb2f4c035d0cb26","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-03-26T18:50:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"regridding.ipynb: refresh output for Jenkins\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 6 _\n Notebook cell execution failed\n Cell 6: Cell outputs differ\n\n Input:\n reg_bil = xe.Regridder(ds_in, ds_tgt, \"bilinear\")\n reg_bil # Show information about the regridding\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"regridding.ipynb: refresh output for Jenkins"}},{"before":"b52c4d0ed33e3b2d5be4b2e38cbaacfb894a69d3","after":"ce75e300c1d28168e8d25e4f6cbaa47becd35e23","ref":"refs/heads/refresh-WCS_example.ipynb-upstream-updated","pushedAt":"2024-03-26T18:39:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"WCS_example.ipynb: refresh output for Jenkins (upstream server updated)\n\nUpstream added 'application/x-grib2' and 'crs |S1 ...'.\n\n```\n ______ pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb::Cell 2 _______\n Notebook cell execution failed\n Cell 2: Cell outputs differ\n\n Input:\n layerid = \"OCEAN.GIOPS.3D_SALW_0000\"\n temp = wcs[layerid]\n # Title\n print(\"Layer title :\", temp.title)\n # bounding box\n print(\"BoundingBox :\", temp.boundingBoxWGS84)\n # supported data formats - we'll use geotiff\n print(\"Formats :\", temp.supportedFormats)\n # grid dimensions\n print(\"Grid upper limits :\", temp.grid.highlimits)\n\n Traceback:\n mismatch 'stdout'\n\n assert reference_output == test_output failed:\n\n \"Layer title ...99', '849']\\n\" == \"Layer title ...99', '849']\\n\"\n Skipping 89 identical leading characters in diff, use -v to show\n - netcdf', 'application/x-grib2', 'image/png', 'image/jpeg', 'image/png; mode=8bit', 'image/vnd.jpeg-png', 'image/vnd.jpeg-png8']\n ? -----------------------\n + netcdf', 'image/png', 'image/jpeg', 'image/png; mode=8bit', 'image/vnd.jpeg-png', 'image/vnd.jpeg-png8']\n Grid upper limits : ['1799', '849']\n\n ______ pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb::Cell 5 _______\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(fn)\n print(ds.data_vars)\n ds.Band1.plot()\n plt.show()\n\n Traceback:\n mismatch 'stdout'\n\n assert reference_output == test_output failed:\n\n 'Data variabl...float32 ...\\n' == 'Data variabl...float32 ...\\n'\n Data variables:\n - crs |S1 ...\n Band1 (lat, lon) float32 ...\n```","shortMessageHtmlLink":"WCS_example.ipynb: refresh output for Jenkins (upstream server updated)"}},{"before":null,"after":"b52c4d0ed33e3b2d5be4b2e38cbaacfb894a69d3","ref":"refs/heads/refresh-WCS_example.ipynb-upstream-updated","pushedAt":"2024-03-26T18:27:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"CaSR_basic.ipynb: fix output to avoid breaking Jenkins (#323)\n\nAdd `# NBVAL_IGNORE_OUTPUT` to pass Jenkins. I think it's probably due\r\nto the usage of `clear_output()`. However removing `clear_output()` will\r\nmake the output very long and messy. Have to take the lesser of the 2\r\nevils.\r\n\r\nNew notebook introduced by\r\nhttps://github.com/Ouranosinc/pavics-sdi/pull/320.\r\n\r\nFix this error:\r\n```\r\n[2024-03-16T00:52:45.909Z] _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 2 _______\r\n[2024-03-16T00:52:45.909Z] [91mNotebook cell execution failed[0m\r\n[2024-03-16T00:52:45.909Z] [94mCell 2: Cell outputs differ\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] Input:\r\n[2024-03-16T00:52:45.909Z] [0mimport logging\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] from dask.distributed import Client\r\n[2024-03-16T00:52:45.909Z] from IPython.display import clear_output\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] # For hourly data, we suggest using the following chunking pattern: dict(time=720, rlon=50, rlat=50)\r\n[2024-03-16T00:52:45.909Z] # Compute 10-year precipitation means. This is a lazy operation, no computations are done at this point.\r\n[2024-03-16T00:52:45.909Z] pr10y = bbox.pr.resample(time=\"10YS\").mean(dim=\"time\", keep_attrs=True)\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] # Options for dask workers\r\n[2024-03-16T00:52:45.909Z] dask_kwargs = dict(\r\n[2024-03-16T00:52:45.909Z] n_workers=8,\r\n[2024-03-16T00:52:45.909Z] threads_per_worker=6,\r\n[2024-03-16T00:52:45.909Z] memory_limit=\"2.5GB\",\r\n[2024-03-16T00:52:45.909Z] local_directory=\"/notebook_dir/writable-workspace/tmp\",\r\n[2024-03-16T00:52:45.909Z] silence_logs=logging.ERROR,\r\n[2024-03-16T00:52:45.909Z] )\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] # Actually perform the computation\r\n[2024-03-16T00:52:45.909Z] with Client(**dask_kwargs) as c:\r\n[2024-03-16T00:52:45.909Z] clear_output()\r\n[2024-03-16T00:52:45.909Z] # Just taking the first 10-year average to speed things up\r\n[2024-03-16T00:52:45.909Z] pr10y = pr10y.isel(time=0).compute()\r\n[2024-03-16T00:52:45.909Z] clear_output()\r\n[2024-03-16T00:52:45.909Z] pr10y.plot()\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] [94mTraceback:[0m\r\n[2024-03-16T00:52:45.909Z] [91mUnexpected output fields from running code: {'stderr'}[0m\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] ----------------------------- Captured stdout call -----------------------------\r\n[2024-03-16T00:52:45.909Z] unhandled iopub msg: clear_output\r\n[2024-03-16T00:52:45.909Z] unhandled iopub msg: clear_output\r\n[2024-03-16T00:52:45.909Z] _______ pavics-sdi-master/docs/source/notebooks/CaSR_basic.ipynb::Cell 3 _______\r\n[2024-03-16T00:52:45.909Z] [91mNotebook cell execution failed[0m\r\n[2024-03-16T00:52:45.909Z] [94mCell 3: Cell outputs differ\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] Input:\r\n[2024-03-16T00:52:45.909Z] [0mfrom xclim import atmos\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] # Compute heat index using xclim and find the annual maxima.\r\n[2024-03-16T00:52:45.909Z] with Client(**dask_kwargs) as c:\r\n[2024-03-16T00:52:45.909Z] clear_output()\r\n[2024-03-16T00:52:45.909Z] hi_max = atmos.heat_index(ds=site).resample(time=\"Y\").max()\r\n[2024-03-16T00:52:45.909Z] clear_output()\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] # Plot the results\r\n[2024-03-16T00:52:45.909Z] hi_max.plot()\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] [94mTraceback:[0m\r\n[2024-03-16T00:52:45.909Z] [91mUnexpected output fields from running code: {'stderr'}[0m\r\n[2024-03-16T00:52:45.909Z]\r\n[2024-03-16T00:52:45.909Z] ----------------------------- Captured stdout call -----------------------------\r\n[2024-03-16T00:52:45.909Z] unhandled iopub msg: clear_output\r\n[2024-03-16T00:52:45.909Z] unhandled iopub msg: clear_output\r\n```","shortMessageHtmlLink":"CaSR_basic.ipynb: fix output to avoid breaking Jenkins (#323)"}},{"before":"5d2c5285eb12e2e10acdde302fe171277ae192e4","after":"7bc81cbec786eb14a5f25988acb2f4c035d0cb26","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-03-26T18:00:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"regridding.ipynb: refresh output for Jenkins\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 6 _\n Notebook cell execution failed\n Cell 6: Cell outputs differ\n\n Input:\n reg_bil = xe.Regridder(ds_in, ds_tgt, \"bilinear\")\n reg_bil # Show information about the regridding\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"regridding.ipynb: refresh output for Jenkins"}},{"before":"0439b7fdf39a77e028528a096aeb51ccdaab186a","after":"5d2c5285eb12e2e10acdde302fe171277ae192e4","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-03-26T16:24:44.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"regridding.ipynb: work-around for Jenkins (nbval/issues/204)\n\nWork-around for\nhttps://github.com/computationalmodelling/nbval/issues/204\n\nHave to use NBVAL_IGNORE_OUTPUT because the sanitize file seems to not\nbe working in this case, see the issue above.\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 4 _\n Notebook cell execution failed\n Cell 4: Cell outputs differ\n\n Input:\n ds_tgt.cf.plot.scatter(x=\"longitude\", y=\"latitude\", s=0.1)\n plt.title(\"Target regular grid\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Target regular grid')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 6 _\n Notebook cell execution failed\n Cell 6: Cell outputs differ\n\n Input:\n reg_bil = xe.Regridder(ds_in, ds_tgt, \"bilinear\")\n reg_bil # Show information about the regridding\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 7 _\n Notebook cell execution failed\n Cell 7: Cell outputs differ\n\n Input:\n # xesmf/frontend.py:476: FutureWarning: ``output_sizes`` should be given in the ``dask_gufunc_kwargs`` parameter. It will be removed as direct parameter in a future version.\n warnings.filterwarnings(\"ignore\", category=FutureWarning)\n\n # Apply the regridding weights to the input sea ice concentration data\n sic_bil = reg_bil(ds_in.siconc)\n\n # Plot the results\n sic_bil.isel(time=0).plot(cmap=cmap)\n plt.title(\"Regridded sic data (Jan 2020)\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Regridded sic data (Jan 2020)')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 20 _\n Notebook cell execution failed\n Cell 20: Cell outputs differ\n\n Input:\n reg_mask_cons = xe.Regridder(ds_in_mask, ds_tgt_mask, \"conservative\")\n tasmin_mask_cons = reg_mask_cons(ds_in_mask.tasmin)\n\n fig, ax = plt.subplots(figsize=(6, 4))\n tasmin_mask_cons.plot(cmap=cmap, ax=ax)\n ax.set_xlim(210, 320)\n ax.set_ylim(38, 86)\n ax.set_title(\"Conservative regridding without normalization - zoom on Canada\")\n ax.annotate(\n \"Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!\",\n (280, 40),\n xytext=(1.3, 0.3),\n xycoords=\"data\",\n textcoords=\"axes fraction\",\n fontsize=\"x-large\",\n arrowprops=dict(arrowstyle=\"->\", connectionstyle=\"arc3, rad=-0.3\"),\n );\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(1.3, 0.3, 'Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 27 _\n Notebook cell execution failed\n Cell 27: Cell outputs differ\n\n Input:\n # Now we can plot easily the results as a choropleth map!\n ax = shapes_data.plot(\n \"tasmin\", legend=True, legend_kwds={\"label\": \"Minimal temperature 1993-05-20 [K]\"}\n )\n ax.set_ylabel(\"Latitude\")\n ax.set_xlabel(\"Longitude\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 91.20243008191655, 'Longitude')\n
\n >>>>>>>>>>>>\n```","shortMessageHtmlLink":"regridding.ipynb: work-around for Jenkins (nbval/issues/204)"}},{"before":"fd53281a9624fab9455a77eb1ea9718af25af2d8","after":"5d2c5285eb12e2e10acdde302fe171277ae192e4","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-03-26T16:24:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"regridding.ipynb: work-around for Jenkins (nbval/issues/204)\n\nWork-around for\nhttps://github.com/computationalmodelling/nbval/issues/204\n\nHave to use NBVAL_IGNORE_OUTPUT because the sanitize file seems to not\nbe working in this case, see the issue above.\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 4 _\n Notebook cell execution failed\n Cell 4: Cell outputs differ\n\n Input:\n ds_tgt.cf.plot.scatter(x=\"longitude\", y=\"latitude\", s=0.1)\n plt.title(\"Target regular grid\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Target regular grid')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 6 _\n Notebook cell execution failed\n Cell 6: Cell outputs differ\n\n Input:\n reg_bil = xe.Regridder(ds_in, ds_tgt, \"bilinear\")\n reg_bil # Show information about the regridding\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 7 _\n Notebook cell execution failed\n Cell 7: Cell outputs differ\n\n Input:\n # xesmf/frontend.py:476: FutureWarning: ``output_sizes`` should be given in the ``dask_gufunc_kwargs`` parameter. It will be removed as direct parameter in a future version.\n warnings.filterwarnings(\"ignore\", category=FutureWarning)\n\n # Apply the regridding weights to the input sea ice concentration data\n sic_bil = reg_bil(ds_in.siconc)\n\n # Plot the results\n sic_bil.isel(time=0).plot(cmap=cmap)\n plt.title(\"Regridded sic data (Jan 2020)\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Regridded sic data (Jan 2020)')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 20 _\n Notebook cell execution failed\n Cell 20: Cell outputs differ\n\n Input:\n reg_mask_cons = xe.Regridder(ds_in_mask, ds_tgt_mask, \"conservative\")\n tasmin_mask_cons = reg_mask_cons(ds_in_mask.tasmin)\n\n fig, ax = plt.subplots(figsize=(6, 4))\n tasmin_mask_cons.plot(cmap=cmap, ax=ax)\n ax.set_xlim(210, 320)\n ax.set_ylim(38, 86)\n ax.set_title(\"Conservative regridding without normalization - zoom on Canada\")\n ax.annotate(\n \"Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!\",\n (280, 40),\n xytext=(1.3, 0.3),\n xycoords=\"data\",\n textcoords=\"axes fraction\",\n fontsize=\"x-large\",\n arrowprops=dict(arrowstyle=\"->\", connectionstyle=\"arc3, rad=-0.3\"),\n );\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(1.3, 0.3, 'Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha_refresh_output/docs/source/notebooks/regridding.ipynb::Cell 27 _\n Notebook cell execution failed\n Cell 27: Cell outputs differ\n\n Input:\n # Now we can plot easily the results as a choropleth map!\n ax = shapes_data.plot(\n \"tasmin\", legend=True, legend_kwds={\"label\": \"Minimal temperature 1993-05-20 [K]\"}\n )\n ax.set_ylabel(\"Latitude\")\n ax.set_xlabel(\"Longitude\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 91.20243008191655, 'Longitude')\n
\n >>>>>>>>>>>>\n```","shortMessageHtmlLink":"regridding.ipynb: work-around for Jenkins (nbval/issues/204)"}},{"before":"0439b7fdf39a77e028528a096aeb51ccdaab186a","after":"fd53281a9624fab9455a77eb1ea9718af25af2d8","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-03-26T04:21:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"4ffec2df463b413c78991e9481fbe182537b3a65","after":"0439b7fdf39a77e028528a096aeb51ccdaab186a","ref":"refs/heads/fix_nbs_jupyter_alpha","pushedAt":"2024-03-26T04:20:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"climex.ipynb: refresh output to attempt to fix Jenkins\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 5 __\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(\n url, chunks=dict(realization=1, time=365, rlat=50 * 3, rlon=50 * 3)\n )\n xclim.set_options(check_missing=\"pct\", missing_options={\"pct\": {\"tolerance\": 0.05}})\n sdii = xclim.atmos.daily_pr_intensity(pr=ds.pr.sel(time=\"2000\"))\n sdii\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 8 __\n Notebook cell execution failed\n Cell 8: Cell outputs differ\n\n Input:\n # Subset over the Montreal gridpoint\n ds = xr.open_dataset(url, chunks=dict(realization=1, time=365 * 50, rlon=25, rlat=25))\n pt = subset_gridpoint(ds, lon=-73.69, lat=45.50)\n print(\"Input dataset for Montreal :\")\n display(pt)\n out = xclim.atmos.max_1day_precipitation_amount(pr=pt.pr, freq=\"YS\")\n print(\"Maximim 1-day precipitation `lazy` output ..\")\n out\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"climex.ipynb: refresh output to attempt to fix Jenkins"}},{"before":"2e86c19acf0406d5cbd1352c13781e849b757536","after":"0439b7fdf39a77e028528a096aeb51ccdaab186a","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-03-25T20:01:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"climex.ipynb: refresh output to attempt to fix Jenkins\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 5 __\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(\n url, chunks=dict(realization=1, time=365, rlat=50 * 3, rlon=50 * 3)\n )\n xclim.set_options(check_missing=\"pct\", missing_options={\"pct\": {\"tolerance\": 0.05}})\n sdii = xclim.atmos.daily_pr_intensity(pr=ds.pr.sel(time=\"2000\"))\n sdii\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 8 __\n Notebook cell execution failed\n Cell 8: Cell outputs differ\n\n Input:\n # Subset over the Montreal gridpoint\n ds = xr.open_dataset(url, chunks=dict(realization=1, time=365 * 50, rlon=25, rlat=25))\n pt = subset_gridpoint(ds, lon=-73.69, lat=45.50)\n print(\"Input dataset for Montreal :\")\n display(pt)\n out = xclim.atmos.max_1day_precipitation_amount(pr=pt.pr, freq=\"YS\")\n print(\"Maximim 1-day precipitation `lazy` output ..\")\n out\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n```","shortMessageHtmlLink":"climex.ipynb: refresh output to attempt to fix Jenkins"}},{"before":"4ffec2df463b413c78991e9481fbe182537b3a65","after":"2e86c19acf0406d5cbd1352c13781e849b757536","ref":"refs/heads/fix_nbs_jupyter_alpha_refresh_output","pushedAt":"2024-03-23T17:30:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tlvu","name":"Long Vu","path":"/tlvu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11966697?s=80&v=4"},"commit":{"message":"refresh output to attempt to fix Jenkins\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 5 __\n Notebook cell execution failed\n Cell 5: Cell outputs differ\n\n Input:\n ds = xr.open_dataset(\n url, chunks=dict(realization=1, time=365, rlat=50 * 3, rlon=50 * 3)\n )\n xclim.set_options(check_missing=\"pct\", missing_options={\"pct\": {\"tolerance\": 0.05}})\n sdii = xclim.atmos.daily_pr_intensity(pr=ds.pr.sel(time=\"2000\"))\n sdii\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/climex.ipynb::Cell 8 __\n Notebook cell execution failed\n Cell 8: Cell outputs differ\n\n Input:\n # Subset over the Montreal gridpoint\n ds = xr.open_dataset(url, chunks=dict(realization=1, time=365 * 50, rlon=25, rlat=25))\n pt = subset_gridpoint(ds, lon=-73.69, lat=45.50)\n print(\"Input dataset for Montreal :\")\n display(pt)\n out = xclim.atmos.max_1day_precipitation_amount(pr=pt.pr, freq=\"YS\")\n print(\"Maximim 1-day precipitation `lazy` output ..\")\n out\n\n Traceback:\n Unexpected output fields from running code: {'stderr'}\n```\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/regridding.ipynb::Cell 4 _\n Notebook cell execution failed\n Cell 4: Cell outputs differ\n\n Input:\n ds_tgt.cf.plot.scatter(x=\"longitude\", y=\"latitude\", s=0.1)\n plt.title(\"Target regular grid\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Target regular grid')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/regridding.ipynb::Cell 6 _\n Notebook cell execution failed\n Cell 6: Cell outputs differ\n\n Input:\n reg_bil = xe.Regridder(ds_in, ds_tgt, \"bilinear\")\n reg_bil # Show information about the regridding\n\n Traceback:\n Missing output fields from running code: {'stderr'}\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/regridding.ipynb::Cell 7 _\n Notebook cell execution failed\n Cell 7: Cell outputs differ\n\n Input:\n # xesmf/frontend.py:476: FutureWarning: ``output_sizes`` should be given in the ``dask_gufunc_kwargs`` parameter. It will be removed as direct parameter in a future version.\n warnings.filterwarnings(\"ignore\", category=FutureWarning)\n\n # Apply the regridding weights to the input sea ice concentration data\n sic_bil = reg_bil(ds_in.siconc)\n\n # Plot the results\n sic_bil.isel(time=0).plot(cmap=cmap)\n plt.title(\"Regridded sic data (Jan 2020)\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 1.0, 'Regridded sic data (Jan 2020)')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/regridding.ipynb::Cell 20 _\n Notebook cell execution failed\n Cell 20: Cell outputs differ\n\n Input:\n reg_mask_cons = xe.Regridder(ds_in_mask, ds_tgt_mask, \"conservative\")\n tasmin_mask_cons = reg_mask_cons(ds_in_mask.tasmin)\n\n fig, ax = plt.subplots(figsize=(6, 4))\n tasmin_mask_cons.plot(cmap=cmap, ax=ax)\n ax.set_xlim(210, 320)\n ax.set_ylim(38, 86)\n ax.set_title(\"Conservative regridding without normalization - zoom on Canada\")\n ax.annotate(\n \"Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!\",\n (280, 40),\n xytext=(1.3, 0.3),\n xycoords=\"data\",\n textcoords=\"axes fraction\",\n fontsize=\"x-large\",\n arrowprops=dict(arrowstyle=\"->\", connectionstyle=\"arc3, rad=-0.3\"),\n );\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(1.3, 0.3, 'Some values are close to 0 Kelvins.\\nCanada can get cold, but not that cold!')\n
\n >>>>>>>>>>>>\n\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/regridding.ipynb::Cell 27 _\n Notebook cell execution failed\n Cell 27: Cell outputs differ\n\n Input:\n # Now we can plot easily the results as a choropleth map!\n ax = shapes_data.plot(\n \"tasmin\", legend=True, legend_kwds={\"label\": \"Minimal temperature 1993-05-20 [K]\"}\n )\n ax.set_ylabel(\"Latitude\")\n ax.set_xlabel(\"Longitude\");\n\n Traceback:\n dissimilar number of outputs for key \"text/plain\"<<<<<<<<<<<< Reference outputs from ipynb file:\n
\n ============ disagrees with newly computed (test) output:\n Text(0.5, 91.20243008191655, 'Longitude')\n
\n >>>>>>>>>>>>\n```\n\n```\n _ pavics-sdi-fix_nbs_jupyter_alpha/docs/source/notebooks/subset-user-input.ipynb::Cell 14 _\n Notebook cell execution failed\n Cell 14: Cell outputs differ\n\n Input:\n lon0 = float(bounds.minx)\n lon1 = float(bounds.maxx)\n lat0 = float(bounds.miny)\n lat1 = float(bounds.maxy)\n\n result_tasmin = finch.subset_bbox(\n resource=data,\n variable=\"tasmin\",\n lon0=lon0,\n lon1=lon1,\n lat0=lat0,\n lat1=lat1,\n start_date=\"1958-01-01\",\n end_date=\"1958-12-31\",\n )\n\n Traceback:\n mismatch 'stderr'\n\n assert reference_output == test_output failed:\n\n '/tmp/ipykern...ounds.maxy)\\n' == '/tmp/ipykern...ounds.maxy)\\n'\n\n Skipping 179 identical trailing characters in diff, use -v to show\n - /tmp/ipykernel_1505/857013960.py:1: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? - ^\n + /tmp/ipykernel_1086/857013960.py:1: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? ^^\n lon0 = float(bounds.minx)\n - /tmp/ipykernel_1505/857013960.py:2: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? - ^\n + /tmp/ipykernel_1086/857013960.py:2: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? ^^\n lon1 = float(bounds.maxx)\n - /tmp/ipykernel_1505/857013960.py:3: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? - ^\n + /tmp/ipykernel_1086/857013960.py:3: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead\n ? ^^\n lat0 = float(bounds.miny)\n - /tmp/ipykernel_1505/85701396\n ? - ^\n + /tmp/ipykernel_1086/85701396\n ? ^^\n```","shortMessageHtmlLink":"refresh output to attempt to fix Jenkins"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEQOe_kgA","startCursor":null,"endCursor":null}},"title":"Activity · Ouranosinc/pavics-sdi"}