rubisco-sfa / ILAMB

Python software used in the International Land Model Benchmarking (ILAMB) project
BSD 3-Clause "New" or "Revised" License
46 stars 37 forks source link

Compare layered datasets with standard ILAMB methodology #58

Closed nocollier closed 2 years ago

nocollier commented 2 years ago

With this PR, h2 headings in the ILAMB configure files now allow the depths keyword which will accept a float or comma delimited list of floats (e.g. depths = 0, 100, 500). If the reference dataset has a depth dimension, then this keyword will automatically expand this h2 into a list of h2s, one for each depth specified. The child nodes (the datasets under the h2 are also copied and assigned a 'depth' value to be used in picking a layer out of the reference dataset.