Hopefully this is an easy question for someone to answer! I'm trying to run just the timeseries generation in CUPiD, and just for atm files (for testing). I naively thought that commenting out everything else in examples/coupled_model/config.yml
would work but I get an error referencing the ocean_surface
PermissionError: [Errno 13] Permission denied: '/glade/scratch'
ploomber.exceptions.TaskBuildError: Error when executing task
'ocean_surface'. Partially executed notebook available at
/glade/u/home/bundy/cam/diag/cupid/CUPiD.main/examples/coupled_model/computed_notebooks/quick-run/ocean_surface.ipynb
ploomber.exceptions.TaskBuildError: Error building task "ocean_surface"
Thanks for any insight!
Hi Dani, Just as a first check, were you running with the --time-series
(or -ts
) flag? If so, the timeseries generation should occur before running through any notebooks. For the time being, if you wanted to run timeseries for just one component, you could also update the list of components which timeseries are run for in run.py
. The notebooks shouldn't be executing until after that point (see here). One other note-- Lev's PR is going to be changing how we call notebooks (and possibly timeseries generation) for either all or a single component.
I was wondering if this issue is tied to https://github.com/NCAR/CUPiD/issues/36 -- @Lev Romashkov would know more, but I thought there were sometimes conflicts in cupid-run
due to mismatches between the jupyter book settings and the compute_notebook
section of config.
No pressure to respond over the weekend of course, but I'll give my two cents for now - since Ploomber is throwing the issue I don't think it's the jupyter book stuff referenced in that issue causing the problem, but I don't know for sure without more info. Dani, could you DM me your version of the config.yml file whenever you get around to it?
Last updated: May 16 2025 at 17:14 UTC