Hi all, as CDO is recommended as remapping initial and boundary data, I tried to set this up. But I do have some questions. First, how do I remap?
1. generate weights:
cdo -f nc4 gencon,${TARGET_GRID}:${N_TARGET} -selname,cell_area ${SOURCE_GRID} ${WEIGHTS}
2. remap IBC:
cdo -f nc4 remap,${TARGET_GRID}:{N_TARGET},${WEIGHTS} -chname,HHL,z_ifc - selname,{FIELDS} -setgrid,${SOURCE_GRID}:{N_SOURCE} ${DATADIR}/${outdatafile}_lbc.nc
Now, the name of model levels and half levels after remapping ICON-EU focing data with cdo
can differ (depending on the forcing data):
dimensions: of iefff00000000.2024021612
time = UNLIMITED ; // (1 currently)
cell = 51212 ;
nv = 3 ;
height = 75 ;
bnds = 2 ;
height_2 = 74 ;
height_3 = 75 ;
dimensions: of iefff00000000.2024021615
time = UNLIMITED ; // (1 currently)
cell = 51212 ;
nv = 3 ;
height = 74 ;
bnds = 2 ;
height_2 = 75 ;
height_3 = 75 ;
Here, height and height_2 are swapped. Could this result in an icon simulation problem using files with different dimension names for model levels? Using iconremap
dimensions:
time = UNLIMITED ; // (1 currently)
ncells = 51212 ;
vertices = 3 ;
height = 75 ;
bnds = 2 ;
height_2 = 74 ;
height_3 = 75 ;
height_2 is always used.
Furthermore, cell and nv are used after cdo and ncells and vertices after iconremap. Should these be renamed with ncrename from nco or can ICON handle this? I am running simulations on icon 2024.10 and 2025.10.
So, my question:
- Can the use of the different name (height / height_2) for the model level be a problem in an icon simulation?
- Should cell and nv be renamed to ncells and vertices or can ICON handle this?
Edit note: Why in some files the model level is called height and in others height_2 is due to the ordering of the height variables in the forcing data (sometimes model levels are listed first and sometimes second). Therefore the new question:
- How can it be that the forcing data structure is different for different time steps?