How can I do cdo remapbil
Added by Sara nz107 over 4 years ago
Hi dears
Can anyone help me?
I am trying to use this command to interpolate my netcdf data into my wrfinput_d01 . I have used this:
cdo remapbil,NEW_GRID_DEF old-file.nc new-file.nc
but I receive this massage:
[****Warning (cdf_scan_var_attr) : Time must be the first dimension!
Unsupported array structure, skipped variable wetland_CH4_emissions!
Warning (cdf_set_var) : Inconsistent variable definition for wetland_CH4_emissions!
cdo remapbil (Abort): No remappable grid found!***]1*
thank you very much in deed
NEW_GRID_DEF (440 KB) NEW_GRID_DEF | |||
oldfile.nc (1.16 MB) oldfile.nc |
Replies (1)
RE: How can I do cdo remapbil - Added by Ralf Mueller over 4 years ago
hi Sara!
the usage of model
(dimension + variable) in your file is not CF-conform. but we can trick around this with
- reorder the dimensions of variable
wetland_CH4_emissions
so that Time is the first onencpdq -v wetland_CH4_emissions -a time,model oldfile.nc newfile.nc
- rename
model
tolevel
pretending this would be something vertical:ncrename -v model,level -d model,level newfile.nc
After these steps the remapping works:
cdo remapbil,NEW_GRID_DEF newfile.nc remapped_newfile.nc