SCOPE-RTM 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scope/__init__.py +153 -0
- scope/biochem/__init__.py +19 -0
- scope/biochem/leaf.py +962 -0
- scope/canopy/__init__.py +54 -0
- scope/canopy/fluorescence.py +1404 -0
- scope/canopy/foursail.py +595 -0
- scope/canopy/layered_rt.py +333 -0
- scope/canopy/reflectance.py +496 -0
- scope/canopy/thermal.py +620 -0
- scope/cli/__init__.py +3 -0
- scope/cli/fetch_upstream.py +62 -0
- scope/cli/prepare_scope_input.py +100 -0
- scope/config.py +32 -0
- scope/data/__init__.py +5 -0
- scope/data/grid.py +113 -0
- scope/energy/__init__.py +41 -0
- scope/energy/balance.py +1232 -0
- scope/energy/fluxes.py +241 -0
- scope/io/__init__.py +29 -0
- scope/io/export.py +169 -0
- scope/io/prepare.py +406 -0
- scope/runners/__init__.py +5 -0
- scope/runners/grid.py +1714 -0
- scope/spectral/__init__.py +23 -0
- scope/spectral/fluspect.py +496 -0
- scope/spectral/loaders.py +224 -0
- scope/spectral/optics.py +33 -0
- scope/spectral/soil.py +182 -0
- scope_rtm-0.1.0.dist-info/METADATA +219 -0
- scope_rtm-0.1.0.dist-info/RECORD +33 -0
- scope_rtm-0.1.0.dist-info/WHEEL +5 -0
- scope_rtm-0.1.0.dist-info/entry_points.txt +3 -0
- scope_rtm-0.1.0.dist-info/top_level.txt +1 -0
scope/__init__.py
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"""Top-level package for the PyTorch implementation of SCOPE."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import version as _pkg_version
|
|
4
|
+
|
|
5
|
+
from .biochem import (
|
|
6
|
+
BiochemicalOptions,
|
|
7
|
+
BiochemicalTemperatureResponse,
|
|
8
|
+
LeafBiochemistryInputs,
|
|
9
|
+
LeafBiochemistryModel,
|
|
10
|
+
LeafBiochemistryResult,
|
|
11
|
+
LeafMeteo,
|
|
12
|
+
)
|
|
13
|
+
from .config import SimulationConfig
|
|
14
|
+
from .canopy.foursail import FourSAILModel, FourSAILResult, campbell_lidf, scope_lazitab, scope_lidf, scope_litab
|
|
15
|
+
from .canopy.fluorescence import (
|
|
16
|
+
CanopyBiochemicalFluorescenceResult,
|
|
17
|
+
CanopyDirectionalFluorescenceResult,
|
|
18
|
+
CanopyFluorescenceModel,
|
|
19
|
+
CanopyFluorescenceProfileResult,
|
|
20
|
+
CanopyFluorescenceResult,
|
|
21
|
+
)
|
|
22
|
+
from .canopy.layered_rt import LayerFluxProfiles, LayeredCanopyTransfer, LayeredCanopyTransportModel
|
|
23
|
+
from .canopy.reflectance import (
|
|
24
|
+
CanopyDirectionalReflectanceResult,
|
|
25
|
+
CanopyRadiationProfileResult,
|
|
26
|
+
CanopyReflectanceModel,
|
|
27
|
+
CanopyReflectanceResult,
|
|
28
|
+
)
|
|
29
|
+
from .canopy.thermal import (
|
|
30
|
+
CanopyDirectionalThermalResult,
|
|
31
|
+
CanopyThermalProfileResult,
|
|
32
|
+
CanopyThermalBalanceResult,
|
|
33
|
+
CanopyThermalRadianceModel,
|
|
34
|
+
CanopyThermalRadianceResult,
|
|
35
|
+
ThermalOptics,
|
|
36
|
+
default_thermal_wavelengths,
|
|
37
|
+
)
|
|
38
|
+
from .energy import (
|
|
39
|
+
CanopyEnergyBalanceFluorescenceResult,
|
|
40
|
+
CanopyEnergyBalanceModel,
|
|
41
|
+
CanopyEnergyBalanceResult,
|
|
42
|
+
CanopyEnergyBalanceThermalResult,
|
|
43
|
+
EnergyBalanceCanopy,
|
|
44
|
+
EnergyBalanceMeteo,
|
|
45
|
+
EnergyBalanceOptions,
|
|
46
|
+
EnergyBalanceSoil,
|
|
47
|
+
HeatFluxInputs,
|
|
48
|
+
HeatFluxResult,
|
|
49
|
+
ResistanceInputs,
|
|
50
|
+
ResistanceResult,
|
|
51
|
+
aerodynamic_resistances,
|
|
52
|
+
heat_fluxes,
|
|
53
|
+
saturated_vapor_pressure,
|
|
54
|
+
slope_saturated_vapor_pressure,
|
|
55
|
+
)
|
|
56
|
+
from .io import (
|
|
57
|
+
DEFAULT_SCOPE_OPTIONS,
|
|
58
|
+
NetCDFWriteOptions,
|
|
59
|
+
ScopeInputFiles,
|
|
60
|
+
available_netcdf_engines,
|
|
61
|
+
build_netcdf_encoding,
|
|
62
|
+
derive_observation_time_grid,
|
|
63
|
+
prepare_scope_input_dataset,
|
|
64
|
+
read_s2_bio_inputs,
|
|
65
|
+
resolve_netcdf_engine,
|
|
66
|
+
write_netcdf_dataset,
|
|
67
|
+
)
|
|
68
|
+
from .data import ScopeGridDataModule
|
|
69
|
+
from .runners import ScopeGridRunner
|
|
70
|
+
from .spectral.fluspect import FluspectModel, LeafBioBatch, LeafOptics, OptiPar, SpectralGrids
|
|
71
|
+
from .spectral.loaders import FluspectResources, SoilSpectraLibrary, load_fluspect_resources, load_scope_filenames, load_soil_spectra
|
|
72
|
+
from .spectral.soil import BSMSoilParameters, SoilBSMModel, SoilEmpiricalParams
|
|
73
|
+
|
|
74
|
+
__all__ = [
|
|
75
|
+
"SimulationConfig",
|
|
76
|
+
"ScopeGridDataModule",
|
|
77
|
+
"ScopeGridRunner",
|
|
78
|
+
"BiochemicalOptions",
|
|
79
|
+
"BiochemicalTemperatureResponse",
|
|
80
|
+
"LeafBiochemistryInputs",
|
|
81
|
+
"LeafBiochemistryModel",
|
|
82
|
+
"LeafBiochemistryResult",
|
|
83
|
+
"LeafMeteo",
|
|
84
|
+
"FluspectModel",
|
|
85
|
+
"LeafBioBatch",
|
|
86
|
+
"LeafOptics",
|
|
87
|
+
"OptiPar",
|
|
88
|
+
"SpectralGrids",
|
|
89
|
+
"FluspectResources",
|
|
90
|
+
"SoilSpectraLibrary",
|
|
91
|
+
"BSMSoilParameters",
|
|
92
|
+
"SoilBSMModel",
|
|
93
|
+
"SoilEmpiricalParams",
|
|
94
|
+
"load_fluspect_resources",
|
|
95
|
+
"load_scope_filenames",
|
|
96
|
+
"load_soil_spectra",
|
|
97
|
+
"FourSAILModel",
|
|
98
|
+
"FourSAILResult",
|
|
99
|
+
"CanopyFluorescenceModel",
|
|
100
|
+
"CanopyFluorescenceResult",
|
|
101
|
+
"CanopyFluorescenceProfileResult",
|
|
102
|
+
"CanopyDirectionalFluorescenceResult",
|
|
103
|
+
"CanopyBiochemicalFluorescenceResult",
|
|
104
|
+
"LayerFluxProfiles",
|
|
105
|
+
"LayeredCanopyTransfer",
|
|
106
|
+
"LayeredCanopyTransportModel",
|
|
107
|
+
"CanopyReflectanceModel",
|
|
108
|
+
"CanopyReflectanceResult",
|
|
109
|
+
"CanopyRadiationProfileResult",
|
|
110
|
+
"CanopyDirectionalReflectanceResult",
|
|
111
|
+
"CanopyThermalRadianceModel",
|
|
112
|
+
"CanopyThermalRadianceResult",
|
|
113
|
+
"CanopyThermalProfileResult",
|
|
114
|
+
"CanopyDirectionalThermalResult",
|
|
115
|
+
"CanopyThermalBalanceResult",
|
|
116
|
+
"CanopyEnergyBalanceFluorescenceResult",
|
|
117
|
+
"CanopyEnergyBalanceModel",
|
|
118
|
+
"CanopyEnergyBalanceResult",
|
|
119
|
+
"CanopyEnergyBalanceThermalResult",
|
|
120
|
+
"EnergyBalanceCanopy",
|
|
121
|
+
"EnergyBalanceMeteo",
|
|
122
|
+
"EnergyBalanceOptions",
|
|
123
|
+
"EnergyBalanceSoil",
|
|
124
|
+
"DEFAULT_SCOPE_OPTIONS",
|
|
125
|
+
"NetCDFWriteOptions",
|
|
126
|
+
"ThermalOptics",
|
|
127
|
+
"HeatFluxInputs",
|
|
128
|
+
"HeatFluxResult",
|
|
129
|
+
"ResistanceInputs",
|
|
130
|
+
"ResistanceResult",
|
|
131
|
+
"aerodynamic_resistances",
|
|
132
|
+
"heat_fluxes",
|
|
133
|
+
"saturated_vapor_pressure",
|
|
134
|
+
"slope_saturated_vapor_pressure",
|
|
135
|
+
"campbell_lidf",
|
|
136
|
+
"default_thermal_wavelengths",
|
|
137
|
+
"available_netcdf_engines",
|
|
138
|
+
"build_netcdf_encoding",
|
|
139
|
+
"derive_observation_time_grid",
|
|
140
|
+
"prepare_scope_input_dataset",
|
|
141
|
+
"read_s2_bio_inputs",
|
|
142
|
+
"resolve_netcdf_engine",
|
|
143
|
+
"ScopeInputFiles",
|
|
144
|
+
"scope_lazitab",
|
|
145
|
+
"scope_lidf",
|
|
146
|
+
"scope_litab",
|
|
147
|
+
"write_netcdf_dataset",
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
try: # pragma: no cover
|
|
151
|
+
__version__ = _pkg_version("SCOPE-RTM")
|
|
152
|
+
except Exception: # pragma: no cover
|
|
153
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Leaf-level physiology and fluorescence-yield drivers."""
|
|
2
|
+
|
|
3
|
+
from .leaf import (
|
|
4
|
+
BiochemicalOptions,
|
|
5
|
+
BiochemicalTemperatureResponse,
|
|
6
|
+
LeafBiochemistryInputs,
|
|
7
|
+
LeafBiochemistryModel,
|
|
8
|
+
LeafBiochemistryResult,
|
|
9
|
+
LeafMeteo,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"BiochemicalOptions",
|
|
14
|
+
"BiochemicalTemperatureResponse",
|
|
15
|
+
"LeafBiochemistryInputs",
|
|
16
|
+
"LeafBiochemistryModel",
|
|
17
|
+
"LeafBiochemistryResult",
|
|
18
|
+
"LeafMeteo",
|
|
19
|
+
]
|