Skip to content

New BPLUT interchange format

Latest
Compare
Choose a tag to compare
@arthur-e arthur-e released this 06 May 23:20
· 13 commits to master since this release

The function pyl4c.data.fixtures.restore_bplut() returns a dictionary representation of the Biome Properties Lookup Table (BPLUT) that looks something like:

    "vpd": array([[...],
                  [...]])
    ...

For parameters that define the slope of ramp functions on fields like VPD, minimum temperature, etc. This format (above) uses a multi-dimensional numpy.ndarray where the first axis enumerates each parameter of the ramp function.

Now, for compatibility with newer libraries and applications, a flatter format is proposed:

{
    "vpd0": [...],
    "vpd1": [...],
    ...

Where [...] could be a 1D numpy.ndarray or a flat sequence.

Full Changelog: 0.15.0...0.16.0