Closed pgierz closed 2 years ago
Just adding background info: this was the original issue back then: https://gitlab.dkrz.de/esm-tools-old-stuff/esm-runscripts/-/issues/187
This was on release 5.0 todo, but was not completed. It did not get revived for release 6.0. Interest does not seem too high. We are trying to sort which issues are still relevant @chrisdane @pgierz I would suggest to implement of close. You decide.
I found multiple issues with similar topics, keeping only #148 open.
Dynamic Vegetation Checks
This feature request will incorporate sanity checks on JSBACH input files, specifically
jsbach.nc
Problem
Due to the disorganized nature of the pools on the supercomputers, it is quite easy to accidentally run a simulation without dynamic vegetation in JSBACH, yet use input files intended for dynamic vegetation.
@chrisdane recently ran into this problem with his CMIP6 simulations.
Proposed Solution
Since JSBACH does not check this internally, and there is still no clearly defined convention for the what the file names should be, I recommend we include some sort of sanity check on the jsbach file itself. Luckily, the file metadata describes for which setup the file is intended, e.g.:
For dynamic vegetation
For fixed vegetation
When assembling the initial file lists, we could do an ncdump check to see if the strings
"setup for runs without dynamic vegetation"
(or accordingly, for the dynveg version) are present, and match to the jsbach namelist.Other Alternatives
While having some sort of programmatic ncdump based check for any particular file might be a useful feature to have in general, for right now, I think a quick hack is better, and we can keep in mind how to move this to YAML instead of python. Ideally, something like: