You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run ModivsModII on runs with startyear= 1985, and noticed that the filelist created by create-clim.sh only contained files with 1985. The script rewrites and updates the year-variable that goes into the creation of filelist entries (variable: aaYear) only if "FIRSTYEAR" is lower than 1000. For "FIRSTYEAR" > 1000, the variable 'aaYear', which is initially set to "FIRSTYEAR", stays unchanged. This can be easily fixed by updating the variable 'aaYear' with the while-loop counter-variable 'aYear' at the beginning of the loop.
Will this change answers?
No
Will you be implementing this yourself?
No
The text was updated successfully, but these errors were encountered:
ingvisau
changed the title
ModIvsModII diagnostic tool create-clim.sh script doesn't work when startyear>1000Put brief (<65 char) title here!
ModIvsModII diagnostic tool create-clim.sh script doesn't work when startyear>1000
Nov 14, 2023
Also, please point me to the version of the script you used.
It looks like you have to edit the script to be able to use it. Is this true? If so, is it okay if I modernize it a bit?
I ran it with my two activation cases, stored on NIRD under /projects/NS9560K/users/ingvisau/: NFHISTnorpddmsbc_f19_f19_mg17_20231106140956 and NFHISTnorpddmsbc_f19_f19_mg17_20231106142112.
I copied the scripts from one of my NorESM clones on Betzy, not 100% sure which version it was, but I can find out.
The script only works if your startyear is less than zero, so I think it should be edited so it works for everyone. I don't own the script though, so I don't know if I can make any decisions.
Issue Type
Other (please describe below)
Issue Description
I tried to run ModivsModII on runs with startyear= 1985, and noticed that the filelist created by create-clim.sh only contained files with 1985. The script rewrites and updates the year-variable that goes into the creation of filelist entries (variable: aaYear) only if "FIRSTYEAR" is lower than 1000. For "FIRSTYEAR" > 1000, the variable 'aaYear', which is initially set to "FIRSTYEAR", stays unchanged. This can be easily fixed by updating the variable 'aaYear' with the while-loop counter-variable 'aYear' at the beginning of the loop.
Will this change answers?
No
Will you be implementing this yourself?
No
The text was updated successfully, but these errors were encountered: