-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to treat time-unit "yrPt"? #689
Comments
As a side comment:
Rather recently I did add in 386a750 the |
Hi Thomas,
case to lpjg2cmor.py. It "works" such that the data is cmorized and the files can be used. They do NOT pass the qa-dkrz test, though. |
I have checked other model's output and found that they are actually using day 365 for the instantaneous value, which is Dec 31 24:00 o'clock of year Y , or Jan 1st 0 am (or pm ? Whatever, modnight, beginning of day) of year Y+1. This is what ece2cmor3 creates, too. As we only cmorize single years this would mean, the values for "end-of-year Y" would be "start-of-year Y+1" instead. Same point in time, different file-label. This isn't particularly nice, because there will now be a shift between the "yrPt" and other annual variables and it doesn't work with qa-dkrz.
and
This is the error from qa-dkrz
The questions are:
Thanks again for your help! |
So you mean that when cmorizing year Y, you create a file with Y+1 in the name? If you prefer to have step 365 file Y (which I would also expect, understanding "days since YYYY-01-01" starts with 1 pinned to YYYY-01-01, right?), then rename the files (you or ece2cmor3). I suggest picking up the last available value of the year that you cmorize, set it to t=365 or 366, and without time bounds. I would advise against "time = 364.5 and time_bnds =[364, 365] ", because that's not a time point. Does your data pass the nctime test? |
That could easily be done, but wouldn't that create issues somewhere else?
There is only one value per year. And that is the last timestep's value. For LPJG that runs on a daily time-step 364.5 would not be unappropriate, but I get your point (and qa-dkrz disallows it, too). My question is: How to get rid of time_bnds?
I can't make the nctime-test run on our machine...rolleyes |
If done correctly, that should not create problems elsewhere. Looks like an issue for ece2cmor3 to resolve. But a simple post-ece2cmor3 script would do the trick... and we already have plenty of them.
A simple call to ncatted should work. I would first do a qa-dkrz test on files that you have renamed from Y+1 to Y, and from which you have removed the time_bounds. |
Are you on |
I am unsure what is the status of the LPJG YrPt files in current version, is it supported? |
also - do we need to apply any changes to LPJG and add the corresponding entries to the .ins files for this to work? I see that the commit 386a750 adds them |
@etienesky: yrPt files don't yet pass the test, but I will address this again now. |
I have seen that the LPJG |
Hi all,
qa-dkrz now complains about:
Apart from that my limited knowledge of how qa-dkrz works tells me, that all these are only "L1" issues, that I interpret as warnings. Further, I still think that the point in time 365 is wrong, because it belongs to the following year (and qa-dkrz treats it rightly so). No idea, how I should proceed. Any suggestions welcome! |
Ok. I did use the nctime-checks in the container that @ufladrich pointed me to. This worked quite nicely. The outcome was, that it seems to be correct, to use timestep 365 and have ece2cmor produce files for the following year, i.e. instead of having files from 1850-2014, there will be 1851-2015 instead. Also, setting Edit: This setting still creates a "Gap between time values across files."-error in qa-dkrz. |
I regret to say, but I have given up on QA-DKRZ. It is not supported any more at the moment and the prospects are doubtful. See IS-ENES-Data/QA-DKRZ#25 for a recent issue I had and the response from DKRZ. It does a decent job when/where it runs, but I can't get it to work in my environment anymore. So relying on nctime for checking the time coordinate is a reasonable strategy as far as I can see. |
Thanks a lot Uwe, |
Hi, I did some tries on this. With a cdo settaxis,$y-01-01,00:00 Not sure what's the best option: keep the cmor files with the name not corresponding to what there is in the value of the time (as currently in ece2cmor), shift the time axis one year back to have the name and the metadata match (what I did with the problem I explained), or modify LPJG to have it compute the yearly as the first time step of the year instead of the last one. For a non expert user that doesn't know the problem, both options 1 and 2 can be misleading... |
Hi again,
I have another request on how to deal with the temporal unit "yrPt" (see e.g. here: http://clipc-services.ceda.ac.uk/dreq/u/fa23fd12-267c-11e7-9bed-ac72891c3257.html). This is not an annual mean but the value of a certain time-step, in CMIP6_Eyr.json it is described in the notes as the end-of-year value. For LPJG we have so far not cmorized values with this "frequency", because we only noticed this because they were missing. So I looked into data on the ESGF from some other providers. This didn't help very much, some use
time = 365 and time_bnds = [365, 365]
or just time (no bnds) in another temporal unit.
I think, since it is the "average" of only one daily timestep in LPJG, it should be treated as
time = 364.5 and time_bnds =[364, 365]
One thing to keep in mind is that time=365 in all the other EC-Earth outputs already lies in the following year.
Edit: The reason for it being in the following year is a matter of how we treat it.
I'd really like to hear your opinion on this.
Thanks, Lars
The text was updated successfully, but these errors were encountered: