coecms / clef

https://clef.readthedocs.io
7 stars 3 forks source link

clef on NCI missing some local files #168

Open nikhil003 opened 1 year ago

nikhil003 commented 1 year ago

I am using clef to query local CMIP6 catalog on NCI. It is such an amazing tool, makes life so much easier.

For most of my cases, it works flawlessly but I encounter a small issue when looking at one specific model. I am not sure what is the best place to raise this so I am doing it here.

module use /g/data3/hh5/public/modules
module load conda/analysis3-unstable

I am using the clef installation from hh5 module. When I run the following query

clef --local cmip6 --model GFDL-CM4 --frequency mon --variant_label r1i1p1f1 --activity ScenarioMIP --variable tas

I don't get any response, however, when I look at the directory, I can see that the file exists.

image

I am imaging this is just a matter of updating the catalog but I could be mistaken about that.

paolap commented 1 year ago

Try using cmor table instead of frequency it's better for local as frequency is not necessarily an attribute in the files:

clef --local cmip6 -m GFDL-CM4 -t Amon -mi r1i1p1f1 -mip ScenarioMIP -v tas /g/data/oi10/replicas/CMIP6/ScenarioMIP/NOAA-GFDL/GFDL-CM4/ssp245/r1i1p1f1/Amon/tas/gr1/v20180701 /g/data/oi10/replicas/CMIP6/ScenarioMIP/NOAA-GFDL/GFDL-CM4/ssp585/r1i1p1f1/Amon/tas/gr1/v20180701

NB also how you can use shorter flags