IAMconsortium / concordia

Apache License 2.0
0 stars 3 forks source link

Converting internal netCDF format to input4MIPs #10

Closed gidden closed 11 months ago

gidden commented 1 year ago

general

<gas>-em-anthro

<gas>-openburning-share

gidden commented 1 year ago

from @coroa:

translate year/month to datetime

In [34]: def convert_to_datetime(da):
...:     da = da.stack(time=("year", "month"))
...:     dates = pd.DatetimeIndex(da.indexes["time"].map(lambda t: date(t[0], t[1]+1, 1)))
...:     return da.drop_vars(["time", "year", "month"]).assign_coords(time=dates)
etiennesky commented 1 year ago
  • translate sector dim to integer (0: Agriculture; 1: Energy; 2: Industrial; 3: Transportation; 4: Residential, Commercial, Other; 5: Solvents production and application; 6: Waste; 7: International Shipping; 8: Negative CO2 Emissions) (decide if needed or not)

Hi @gidden note that sector 8 is only defined for CO2-em , not for the other species. I still think it needs to be there, even if we add the negative emissions separately, for compliance with input4miPS files.

coroa commented 12 months ago

Additional information at Task 1.3 - automated checks meeting notes

etiennesky commented 11 months ago

Hi I think the following is missing, based on our last discussion

gidden commented 11 months ago

closing this for now as I think most issues have been addressed - let's reopen something specifically with a review tag if it remains.