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

tos in 3hr file not found #231

Closed
oloapinivad opened this issue Sep 4, 2018 · 11 comments
Closed

tos in 3hr file not found #231

oloapinivad opened this issue Sep 4, 2018 · 11 comments

Comments

@oloapinivad
Copy link

Hi all,

I am trying to cmorizing 3hrs tos from the correspondent grid_T file, but I am getting this error.

ERROR:ece2cmor3.nemo2cmor:Variable tos needed for tos in table 3hr was not found in NEMO output files... skipping task

However, the variable is there:

cdo showname qctr_3h_20100101_20101231_grid_T.nc 
Warning (find_time_vars) : Found more than one time variable, skipped variable time_centered!
 tos

The nemopar.json and the cmip6 tables seem to point correctly to tos.

Any experience on this? I saw a few issues involving tos but this seems new.

@goord
Copy link
Collaborator

goord commented Sep 4, 2018

Paolo, I really do think that tos in the 3hr table should be extracted from IFS, I believe ece2cmor3 chooses IFS by 'realm matching' for this variable...

@goord
Copy link
Collaborator

goord commented Sep 4, 2018

...and I am not sure whether 3hr-hourly ocean output is properly supported...

@goord
Copy link
Collaborator

goord commented Sep 4, 2018

BTW in the newest CMIP6 tables the tos modelling realm in the 3hr table is ocean, so I guess we should have NEMO produce this variable? See #224

@oloapinivad
Copy link
Author

I see your point. I guess that - theoretically - it should be a little bit more correct to start from NEMO for coupled runs and from IFS when you have AMIP ones.
I am pretty sure that in an older commit I was able to cmorize correctly from the NEMO 3h file. My present concern is that in the actual configuration I cannot cmorize it neither from IFS:

Indeed, if I set a varlist as:

{
  "3hr": [
        "tos"
    ]
}

and I launch the --atm cmorization with ifspar.json I get nothing

INFO:ece2cmor3.cmor_target:CMOR tables data_specs_version : 01.00.23
INFO:ece2cmor3.cmor_target:CMOR tables cmor_version : 3.3
INFO:ece2cmor3.cmor_target:CMOR tables Conventions : CF-1.7 CMIP-6.2
INFO:ece2cmor3.cmor_target:CMOR tables table_date : 21 March 2018
INFO:ece2cmor3.taskloader:Found 1 cmor target variables in input variable list.
INFO:ece2cmor3.taskloader:Created 0 ece2cmor tasks from input variable list.
INFO:ece2cmor3.ece2cmorlib:Selected 0 IFS tasks from 0 input tasks
INFO:ece2cmor3.grib_filter:Searching for previous month file of /marconi_scratch/userexternal/pdavini0/tmp_cmor/qctr_26134/atm_1950_1/linkdata/ICMGGqctr+195001
INFO:ece2cmor3.grib_filter:Found previous month gridpoint file /marconi_scratch/userexternal/pdavini0/tmp_cmor/qctr_26134/atm_1950_1/linkdata/ICMGGqctr+194912 and spectral file /marconi_scratch/userexternal/pdavini0/tmp_cmor/qctr_26134/atm_1950_1/linkdata/ICMSHqctr+194912
INFO:ece2cmor3.ifs2cmor:Inspecting 0 tasks.
INFO:ece2cmor3.ifs2cmor:Validated 0 tasks for processing.
INFO:ece2cmor3.ifs2cmor:Executing 0 IFS tasks...

@goord
Copy link
Collaborator

goord commented Sep 4, 2018

Which tables are this? Jon Seddon's primavera ones or the new ones?

@oloapinivad
Copy link
Author

oloapinivad commented Sep 4, 2018 via email

@goord
Copy link
Collaborator

goord commented Sep 4, 2018

Hmm I suspect it is the realm key. Can you change line 24 in ece2cmor3/ece2cmor3/cmor_target.py to:

realm_key = "realm"

instead of "modeling_realm"? Then rerun python setup.py install and test whether it works?

@oloapinivad
Copy link
Author

oloapinivad commented Sep 5, 2018 via email

@oloapinivad
Copy link
Author

@goord, is this fix permanent? I can close the issue in this case.

@goord
Copy link
Collaborator

goord commented Sep 20, 2018

Hi Paolo, I propose to make a new primavera-stream 2 branch to put this fix in...

@goord
Copy link
Collaborator

goord commented Sep 22, 2018

done, created branch primavera-stream2

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

2 participants