Hi,
I have been trying to regrid vertical emissions files (for example the CAMS-GLOB-AIR available at ECCAD) using scripts from here: IPT/Emissions at master · NCAR/IPT . But as mentioned in the header of many of these scripts (for example this one: IPT/Regrid_fv2se_cmip6_hist_air.ncl at master · NCAR/IPT) there seems to be a problem with the "ESMF_regrid_with_weight" function in such a way that it can only treat 2D arrays (like [lon,lat]) but not 3D (like [lon,lat,altitude]).
I am going to try to slice the vertical emission files along altitude levels, regrid each slide, and then splice them back together. I'm not sure if this gives valid results so if anyone else has encountered this problem and has a nice solution I'd glad to hear it.
All the best,
Tomas.
I have been trying to regrid vertical emissions files (for example the CAMS-GLOB-AIR available at ECCAD) using scripts from here: IPT/Emissions at master · NCAR/IPT . But as mentioned in the header of many of these scripts (for example this one: IPT/Regrid_fv2se_cmip6_hist_air.ncl at master · NCAR/IPT) there seems to be a problem with the "ESMF_regrid_with_weight" function in such a way that it can only treat 2D arrays (like [lon,lat]) but not 3D (like [lon,lat,altitude]).
I am going to try to slice the vertical emission files along altitude levels, regrid each slide, and then splice them back together. I'm not sure if this gives valid results so if anyone else has encountered this problem and has a nice solution I'd glad to hear it.
All the best,
Tomas.