Description
SIPNET input documentation should document units as they are provided by users, rather than units used internally by the model.
Review:
docs/user-guide/model-inputs.md for climate and event inputs
docs/parameters.md for sipnet.param parameters
Check the corresponding input parsing code and update documented units to match the input files. Where SIPNET converts units internally, note the conversion only where useful.
For example, precipitation is supplied in mm and converted internally to cm, while vapor pressure is supplied in Pa and converted to kPa.
This is a documentation-only change; do not change model behavior or input formats.
—-
The SIPNET interface functions in the PEcAn repository, convert between PEcAn-standard units (not relevant here) and SIPNET input/output units and can help by providing a secondary source of information ab some of the units in input and output files:
models/sipnet/R/write.configs.SIPNET.R
models/sipnet/R/met2model.SIPNET.R
models/sipnet/R/write.events.SIPNET.R
models/sipnet/R/model2netcdf.SIPNET.R
If there is a discrepancy, sipnet source code is the authoritative source and there may be a bug in the pecan code; reach out on the pecan slack channel or file an issue in the pecan repository.
Description
SIPNET input documentation should document units as they are provided by users, rather than units used internally by the model.
Review:
docs/user-guide/model-inputs.mdfor climate and event inputsdocs/parameters.mdforsipnet.paramparametersCheck the corresponding input parsing code and update documented units to match the input files. Where SIPNET converts units internally, note the conversion only where useful.
For example, precipitation is supplied in mm and converted internally to cm, while vapor pressure is supplied in Pa and converted to kPa.
This is a documentation-only change; do not change model behavior or input formats.
—-
The SIPNET interface functions in the PEcAn repository, convert between PEcAn-standard units (not relevant here) and SIPNET input/output units and can help by providing a secondary source of information ab some of the units in input and output files:
models/sipnet/R/write.configs.SIPNET.Rmodels/sipnet/R/met2model.SIPNET.Rmodels/sipnet/R/write.events.SIPNET.Rmodels/sipnet/R/model2netcdf.SIPNET.RIf there is a discrepancy, sipnet source code is the authoritative source and there may be a bug in the pecan code; reach out on the pecan slack channel or file an issue in the pecan repository.