Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace warning by error message for case in which: missing 1 time stamps at the beginning #726

Open
treerink opened this issue Feb 4, 2022 · 0 comments

Comments

@treerink
Copy link
Collaborator

treerink commented Feb 4, 2022

In some cases flux values are missing at the start of an experiment, in order to provide a full time record in that case for this initial time slice a field with missing values is added.

However, in case where something else goes wrong (for instance #725) this can also occur:

2021-07-17 20:48:41 WARNING:ece2cmor3.ifs2cmor: For variable ua in table 6hrLev, no valid time point could be found at 1950-01-01 00:00:00...inserting missing values
2021-07-17 20:49:09 WARNING:ece2cmor3.ifs2cmor: The file /lustre3/projects/CMIP6/reerink/temp-cmor-dir/cmip6-cordex-model-levels/h003/ifs/101/h003-ifs-1950/ta_6hrLev.nc seems to be missing 1 time stamps at the beginning, these will be added

Therefore it might be better to give an ERROR:ece2cmor3.ifs2cmor message instead of the warning, so it will be easier detected. Eventually with a possible error situation message. Because once the cmorised data has the missing values, nctime is not detecting as erroneous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant