From 2fda542448ca41357738df7e36fa5f146fe2be5d Mon Sep 17 00:00:00 2001 From: Kelly McCusker Date: Fri, 18 Aug 2023 15:29:17 -0700 Subject: [PATCH] Update README.md to be accurate with current code functionality --- README.md | 66 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 00ca3a6..ee0c159 100644 --- a/README.md +++ b/README.md @@ -12,28 +12,32 @@ This package is very new. This may change in breaking ways. ## Inputs Emissions inputs to FaIR are a specific format. FaIR v1.* expects 39-species of GHGs if run in `MultiGas` mode. -Demo emissions (see code example below) are a dataframe with dimensions Year x Gas. Note that there are *40* columns and the first column is "year", the rest are gases. +Demo emissions (see code example below) are an `xarray.DataArray` with dimensions `year` x `gas`. Note that there are *40* elements in `gas`: the first element is "year", and the rest are gases. ``` -The columns: -Index(['year', 'CO2_Fossil', 'CO2_Land', 'CH4', 'N2O', 'SOx', 'CO', 'NMVOC', +The `gas` coordinate: +array(['year', 'CO2_Fossil', 'CO2_Land', 'CH4', 'N2O', 'SOx', 'CO', 'NMVOC', 'NOx', 'BC', 'OC', 'NH3', 'CF4', 'C2F6', 'C6F14', 'HFC23', 'HFC32', 'HFC4310mee', 'HFC125', 'HFC134a', 'HFC143a', 'HFC227ea', 'HFC245fa', 'SF6', 'CFC11', 'CFC12', 'CFC113', 'CFC114', 'CFC115', 'CARB_TET', 'MCF', 'HCFC22', 'HCFC141b', 'HCFC142b', 'Halon1211', 'Halon1202', - 'Halon1301', 'Halon2402', 'CH3Br', 'CH3Cl'], - dtype='object') -# the index: -RangeIndex(start=0, stop=736, step=1) # here year runs from 1765-2500 + 'Halon1301', 'Halon2402', 'CH3Br', 'CH3Cl'], dtype='