ml2pl - No 3D variable with hybrid sigma pressure coordinate found
Added by Sylvia Sullivan over 4 years ago
I need to vertically remap a file from hybrid sigma pressure levels to pressure levels. When I run cdo ml2pl on my file, I get a message
Warning: No 3D variable with hybrid sigma pressure coordinate found!
This question was asked elsewhere, and Uwe said to use ncatted and add lev as a bounds attribute (ncatted -a bounds,lev,c,c,"ilev" <file>). I ran this command and when I run cdo ml2pl thereafter, I get a message
Warning (cdfScanVarAttr): NetCDF: Variable not found - ilev
Warning: No 3D variable with hybrid sigma pressure coordinate found!
I extracted the first timestep of the file and attached it here (temp3.nc). How can I remap its variables (particularly ICNC_acc_ave) from hybrid sigma pressure to pressure levels? Many thanks.
Replies (4)
RE: ml2pl - No 3D variable with hybrid sigma pressure coordinate found - Added by Sylvia Sullivan over 4 years ago
I don't think the file attached correctly the first time.
RE: ml2pl - No 3D variable with hybrid sigma pressure coordinate found - Added by Ralf Mueller over 4 years ago
Hi Silvia!
I cannot find the related coefficients hyam and hybm in the file not the any surface pressure aps. And I think you called
ncatted -a bounds,lev,c,c,lev temp.ncrather than
ncatted -a bounds,lev,c,c,"ilev"
IMO some essential parts of the hybrid sigma pressure are still missing.
cheers
ralf
RE: ml2pl - No 3D variable with hybrid sigma pressure coordinate found - Added by Sylvia Sullivan over 4 years ago
Many thanks for taking a look, Ralf. As you also see in the temp3.nc metadata, I run a merge command (before the ncatted one) to combine a file with the ICNC_acc_ave variable and a second with pressures and the hybrid sigma pressure level values (hyam and hybm). When I run cdo -merge, hyam and hybm disappear. How do I keep them in the output file with the merge command?
RE: ml2pl - No 3D variable with hybrid sigma pressure coordinate found - Added by Ralf Mueller over 4 years ago
can you upload all the files you wanted to merge? or at least their first time stamps