Bugs in technical Paper Example Notebooks

Open
#39 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
jupyter-notebook, python
Domain
documentation

Research direction

Start with the example notebooks NB1 through NB4 and the linked eWaterCycle issue 355. Reproduce the reported failures in NB1, NB2, NB3, and NB4, including the ESMValTool, input/output, and globalOptions errors; done means the affected notebook steps run without these errors.

Written by the indexing model from the issue text.

Description

I checked the Example Notebooks, and found some bugs:

  • 1.The main problem is still the issue with generating forcing using ESMValTool (see this issue). There seems to be something wrong with the temperature data. This is the log that I get from example NB1:

        ERROR   [3482181] Failed to run preprocessor function 'save' on the data
        [<iris 'Cube' of air_temperature / (K) (time: 10592; latitude: 9; longitude: 7)>]
        loaded from original input file(s)
        [LocalFile('/mnt/data/climate-data/obs6/Tier3/ERA5/OBS6_ERA5_reanaly_1_day_tas_1990-1990.nc'),
         LocalFile('/mnt/data/climate-data/obs6/Tier3/ERA5/OBS6_ERA5_reanaly_1_day_tas_19900101-19901231.nc'),
         LocalFile('/mnt/data/climate-data/obs6/Tier3/ERA5/OBS6_ERA5_reanaly_1_day_tas_1991-1991.nc'),
         LocalFile('/mnt/data/climate-data/obs6/Tier3/ERA5/OBS6_ERA5_reanaly_1_day_tas_1992-1992.nc')]
        (and 26 further file(s) not shown here; refer to the debug log for a full list)
        with function argument(s)
        compress = False,
        filename = PosixPath('/home/vhoogeland/technicalPaperExampleNotebooks/esmvaltool_output/recipe_marrmot_20230728_122744/preproc/diagnostic_daily/tas/OBS6_ERA5_reanaly_1_day_tas_1990-2018.nc')
        ERROR   [3477466] No such comm target registered: jupyter.widget.control
        WARNING [3477466] No such comm: fc0ceb52-d861-433e-9279-70a996fbfd43
    
  • 2. When I run this in NB2:

        cfg_file, cfg_dir = model.setup(end_time=experiment_end_date)
    

And this in NB3:

      observations_df, metadata = ewatercycle.observation.grdc.get_grdc_data(
          station_id,
          start_time=experiment_start_date,
          end_time=experiment_end_date,
      )

I get an [Errno 5] Input/output error. (Is this related to the disk space?)

  • 3. In NB4, when I run this:

      reference = ewatercycle.models.PCRGlobWB(version="setters", parameter_set=experiment_parameterset)
    

I get the following error: NoSectionError: No section: 'globalOptions'.

Dominant language
Jupyter Notebook
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eWaterCycle/technicalPaperExampleNotebooks

All issues in eWaterCycle/technicalPaperExampleNotebooks

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.