Project

General

Profile

remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)!

Added by Xiang Lin 7 months ago

I want to regrid NSIDC sea ice concentration with polar_steregraphic grid into 1X1 lon-lat grid.
But when I use the following scripts
cdo -f nc remapbil,r360X180 seaice_conc_monthly_sh_197811_202212_v04r00.nc out.nc
The following error message was shown:
Warning (cdfInqContents): Coordinates variable time can't be assigned!
cdo remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)!

Then I change the name of time coordinate (from "tdim" into "time") using ncreanme.
"ncrename -d tdim,time seaice_conc_monthly_sh_197811_202212_v04r00.nc"
Then I use the same scripts again.
cdo -f nc remapbil,r360X180 seaice_conc_monthly_sh_197811_202212_v04r00.nc out.nc
But the cdo still met some problem and the out.nc can not be worked out.
cdo remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)!_

Anyone can give me some instruction?

Besides, I can not update my cdo 2.1.1 into cdo 2.2.2 using conda (with
a scripts line of "conda update cdo") in ubuntu.
Is there any other way to update to the cdo 2.2.2 in conda?
Thanks!


Replies (4)

RE: remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)! - Added by Karin Meier-Fleischer 7 months ago

You have not changed the dimension tdim to time, too.

ncrename -d tdim,time seaice_conc_monthly_sh_197811_202212_v04r00.nc infile.nc

And further you have to overwrite the coordinates attribute of each variable to "latitude longitude", e.g. for cdr_seaice_conc_monthly:

ncatted -O -a coordinates,cdr_seaice_conc_monthly,o,c,"latitude longitude" infile.nc

Then do the remapping:

cdo -remapnn,global_1 -selname,cdr_seaice_conc_monthly infile.nc outfile.nc

RE: remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)! - Added by Karin Meier-Fleischer 7 months ago

Please, don't do cross postings! Now, two people have worked on the same problem. See https://code.mpimet.mpg.de/issues/11559

RE: remapbil (Abort): Unsupported generic coordinates (Variable: cdr_seaice_conc_monthly)! - Added by Xiang Lin 7 months ago

Thank you for the reply.
I am sorry for the cross posting,and it will not happen again when I learn more about cdo support boards.

Besides,I compare the map of origional (1.png) and regridded(1_regrid.png) and notice that there are some
diffrence along the east coasts of southern pacific (near south American Continent).

Could you give me some instruction on why the difference occur and how to deal with them?

Thanks!

Lin

    (1-4/4)