Project

General

Profile

ERROR CODE is 2014 NetCDF: Invalid dimension ID or name

Added by Sinclair Chinyoka over 3 years ago

Dear all

I have been trying to run int2lm with NCRM-CM5 Data. But im having the following error. Im not sure whats the cause of the error. Please help

ERROR CODE is 2014 * NetCDF: Invalid dimension ID or name. I have attached log files


Replies (15)

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Andreas Dobler over 3 years ago

Can you try to increase the debug level:
e.g. idbg_level=20
(in the int2lm control section)
Maybe this tells you more.

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Hans-Juergen Panitz over 3 years ago

Did you have a look at the ASCII file “YUCHKDAT” created by INT2LM.
Already the data of the external data set (first entries in the file) look strange.
Everything is zero or even undefined.

You should check the external data set first!

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

i made the changes and have more debug lines. see attachment

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Hans-Juergen Panitz over 3 years ago

Increasing the debug level does not give more information.
See my previous comment and check the external data set (zimbawe.nc)

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

Okay thank you very much. I checked the file. I used the same external file with ncep1 data from 1980-2015 and its working.
I attached the file information

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

But when running int2lm with CNRM-CM5 data from 2018 thats when i get this error

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Andreas Dobler over 3 years ago

Can you provide the whole file (zimbawe.nc) or some values (cdo infov zimbawe.nc)?

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Hans-Juergen Panitz over 3 years ago

this external data set does certainly not cover Zimbawe or any other land area in the world.
The region represented by the data seems to be somewhere over the ocean.
HUSRF=FIS=0, T_CL not defined, soiltype=9, FR_LAND=0, FOR_D=FOR_E=LAI=PLCOV=0, etc, etc; all these values indicate that the whole area is covered by water at Sea Level.

I guess, this is not what you really want, isn’t it?

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

Very true. Thats not what i want. My domain should be Zimbabwe. Let create a new external Data and try again.

Thank you very much. Maybe its because im failing to create the external data. Im new in cosmo-clm

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Andreas Dobler over 3 years ago

Yes, these values can not be correct (e.g HSURF is equal to zero).
I see the same in your NCEP driven runs.

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

Thank you once again. Can you help me to create a right external data. These ones i created them using WebPEP.

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Hans-Juergen Panitz over 3 years ago

o.k.
I now realized (by converting the rotated pole indicated in the ncdump of your ext. data to geographical coordinates, using the tools in Web_PEP) that the origin of your rotated system is
more or less in the centre of Zimbawe. That’s o.k.
But your mistake was the definition of startlon and starlat. They have to be given in rotated coordinates, not in geographical ones as you did. Therefore, your model domain
was over the ocean south-east of Madagascar.
I attach a screen-shot of Web-Pep page with corrected settings of startlon and startlat, keeping the geographical coordinates of the origin of your rotated system and also the number of
grid-points. This is only a suggestion.

Please, note that there is a “preview” button in the Wep-PEP page, which creates a plot of the region that corresponds to your settings.
Thus, you can check whether your settings make sense or not

RE: ERROR CODE is 2014 NetCDF: Invalid dimension ID or name - Added by Sinclair Chinyoka over 3 years ago

Thank you very much. It really makes sense. Let me try that

    (1-15/15)