IAMconsortium / concordia

Apache License 2.0
0 stars 3 forks source link

order of dimensions #27

Closed vsauerland closed 8 months ago

vsauerland commented 1 year ago

In the process of re-mapping gridded carbon emissions I notice differences w.r.t. the order of dimensions between RESCUE scenario input and the reference scenario input.

For files "CO2-em-anthro[...]" we have

in RESCUE scenario: CO2_em_anthro(sector, lat, lon, time) in reference scenario: CO2_em_anthro(sector, time, lat, lon) in mod. reference scenario: CO2_em_anthro(time, sector, lat, lon)

For files "CO2-em-AIR-anthro[...]" we have

in RESCUE scenario: CO2_em_AIR_anthro(sector, lat, lon, level, time) in reference scenario: CO2_em_AIR_anthro(level, time, lat, lon) in mod. reference scenario: CO2_em_AIR_anthro(time, level, lat, lon)

Might be worth to have variable dimensions in the same order as in SSP scenarios? Also, "cdo" commands do not support the 5-dimensional version of variable "CO2_em_AIR_anthro".

gidden commented 1 year ago

Hi @vsauerland many thanks for opening the issue. Can you let us know which file(s) you're referring to for:

Thanks!

vsauerland commented 1 year ago

Hi sorry, the reference files in subfolder "reference/emissions" are these

CO2-em-AIR-anthro_input4MIPs_emissions_ScenarioMIP_IAMC-IMAGE-ssp126-1-1_gn_201501-210012.nc CO2-em-AIR-anthro_input4MIPs_emissions_ScenarioMIP_IAMC-IMAGE-ssp126-1-1_gn_201501-210012.nc.mod CO2-em-anthro_input4MIPs_emissions_ScenarioMIP_IAMC-IMAGE-ssp126-1-1_gn_201501-210012.nc CO2-em-anthro_input4MIPs_emissions_ScenarioMIP_IAMC-IMAGE-ssp126-1-1_gn_201501-210012.nc.mod

Above, I call the ".nc" files "reference scenario" and the ".nc.mod" files "mod. reference scenario".

coroa commented 1 year ago

Thanks, I do not know about those .mod files, but that is maybe not essential.

Am I correct that you are suggesting to have the following?

ie. time dimension first, spatial dimensions last. That sounds fine with me.

vsauerland commented 1 year ago

Yes, but I just wonder if there is corresponding consistency in the order of dimensions in the SSP scenarios provided at input4MIPs

coroa commented 1 year ago

Mostly true, i looked at the *-input4MIPs_emissions_ScenarioMIP_IAMC-REMIND-MAGPIE-ssp534-over-1-1_gn_201501-210012.nc files and we get:

coroa commented 8 months ago

Closed as part of #33