BESS-JPL 1.15.1__py3-none-any.whl → 1.16.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.
Potentially problematic release.
This version of BESS-JPL might be problematic. Click here for more details.
- BESS_JPL/carbon_water_fluxes.py +0 -19
- BESS_JPL/load_C4_fraction.py +5 -1
- BESS_JPL/load_NDVI_maximum.py +3 -1
- BESS_JPL/load_NDVI_minimum.py +3 -1
- BESS_JPL/load_ball_berry_slope_C3.py +1 -1
- BESS_JPL/load_ball_berry_slope_C4.py +1 -1
- BESS_JPL/load_kn.py +1 -1
- BESS_JPL/load_peakVCmax_C3.py +3 -1
- BESS_JPL/load_peakVCmax_C4.py +3 -1
- {bess_jpl-1.15.1.dist-info → bess_jpl-1.16.0.dist-info}/METADATA +1 -1
- {bess_jpl-1.15.1.dist-info → bess_jpl-1.16.0.dist-info}/RECORD +14 -14
- {bess_jpl-1.15.1.dist-info → bess_jpl-1.16.0.dist-info}/WHEEL +0 -0
- {bess_jpl-1.15.1.dist-info → bess_jpl-1.16.0.dist-info}/licenses/LICENSE +0 -0
- {bess_jpl-1.15.1.dist-info → bess_jpl-1.16.0.dist-info}/top_level.txt +0 -0
BESS_JPL/carbon_water_fluxes.py
CHANGED
|
@@ -12,25 +12,6 @@ from .soil_energy_balance import soil_energy_balance
|
|
|
12
12
|
|
|
13
13
|
PASSES = 1
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
def load_ball_berry_intercept_C3(self, geometry: RasterGeometry) -> Raster:
|
|
17
|
-
filename = join(abspath(dirname(__file__)), "ball_berry_intercept_C3.tif")
|
|
18
|
-
image = rt.Raster.open(filename, geometry=geometry, resampling=self.resampling)
|
|
19
|
-
|
|
20
|
-
return image
|
|
21
|
-
|
|
22
|
-
def load_ball_berry_slope_C3(self, geometry: RasterGeometry) -> Raster:
|
|
23
|
-
filename = join(abspath(dirname(__file__)), "ball_berry_slope_C3.tif")
|
|
24
|
-
image = rt.Raster.open(filename, geometry=geometry, resampling=self.resampling)
|
|
25
|
-
|
|
26
|
-
return image
|
|
27
|
-
|
|
28
|
-
def load_ball_berry_slope_C4(self, geometry: RasterGeometry) -> Raster:
|
|
29
|
-
filename = join(abspath(dirname(__file__)), "ball_berry_slope_C4.tif")
|
|
30
|
-
image = rt.Raster.open(filename, geometry=geometry, resampling=self.resampling)
|
|
31
|
-
|
|
32
|
-
return image
|
|
33
|
-
|
|
34
15
|
def carbon_water_fluxes(
|
|
35
16
|
canopy_temperature_K: np.ndarray, # canopy temperature in Kelvin
|
|
36
17
|
soil_temperature_K: np.ndarray, # soil temperature in Kelvin
|
BESS_JPL/load_C4_fraction.py
CHANGED
|
@@ -3,8 +3,12 @@ from os.path import join, abspath, dirname
|
|
|
3
3
|
import rasters as rt
|
|
4
4
|
from rasters import Raster, RasterGeometry
|
|
5
5
|
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
6
8
|
def load_C4_fraction(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
9
|
filename = join(abspath(dirname(__file__)), "C4_fraction.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
10
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling, nodata=np.nan)
|
|
11
|
+
image = rt.clip(image, 0, 100)
|
|
12
|
+
# TODO: scale C4_fraction to be within 0 and 1?
|
|
9
13
|
|
|
10
14
|
return image
|
BESS_JPL/load_NDVI_maximum.py
CHANGED
|
@@ -3,8 +3,10 @@ from os.path import join, abspath, dirname
|
|
|
3
3
|
import rasters as rt
|
|
4
4
|
from rasters import Raster, RasterGeometry
|
|
5
5
|
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
6
8
|
def load_NDVI_maximum(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
9
|
filename = join(abspath(dirname(__file__)), "NDVI_maximum.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
10
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling, nodata=np.nan)
|
|
9
11
|
|
|
10
12
|
return image
|
BESS_JPL/load_NDVI_minimum.py
CHANGED
|
@@ -3,8 +3,10 @@ from os.path import join, abspath, dirname
|
|
|
3
3
|
import rasters as rt
|
|
4
4
|
from rasters import Raster, RasterGeometry
|
|
5
5
|
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
6
8
|
def load_NDVI_minimum(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
9
|
filename = join(abspath(dirname(__file__)), "NDVI_minimum.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
10
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling, nodata=np.nan)
|
|
9
11
|
|
|
10
12
|
return image
|
|
@@ -5,6 +5,6 @@ from rasters import Raster, RasterGeometry
|
|
|
5
5
|
|
|
6
6
|
def load_ball_berry_slope_C3(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
7
|
filename = join(abspath(dirname(__file__)), "ball_berry_slope_C3.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=
|
|
8
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
9
9
|
|
|
10
10
|
return image
|
|
@@ -5,6 +5,6 @@ from rasters import Raster, RasterGeometry
|
|
|
5
5
|
|
|
6
6
|
def load_ball_berry_slope_C4(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
7
|
filename = join(abspath(dirname(__file__)), "ball_berry_slope_C4.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=
|
|
8
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
9
9
|
|
|
10
10
|
return image
|
BESS_JPL/load_kn.py
CHANGED
|
@@ -5,6 +5,6 @@ from rasters import Raster, RasterGeometry
|
|
|
5
5
|
|
|
6
6
|
def load_kn(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
7
|
filename = join(abspath(dirname(__file__)), "kn.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=
|
|
8
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling)
|
|
9
9
|
|
|
10
10
|
return image
|
BESS_JPL/load_peakVCmax_C3.py
CHANGED
|
@@ -3,8 +3,10 @@ from os.path import join, abspath, dirname
|
|
|
3
3
|
import rasters as rt
|
|
4
4
|
from rasters import Raster, RasterGeometry
|
|
5
5
|
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
6
8
|
def load_peakVCmax_C3(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
9
|
filename = join(abspath(dirname(__file__)), "peakVCmax_C3.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=
|
|
10
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling, nodata=np.nan)
|
|
9
11
|
|
|
10
12
|
return image
|
BESS_JPL/load_peakVCmax_C4.py
CHANGED
|
@@ -3,8 +3,10 @@ from os.path import join, abspath, dirname
|
|
|
3
3
|
import rasters as rt
|
|
4
4
|
from rasters import Raster, RasterGeometry
|
|
5
5
|
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
6
8
|
def load_peakVCmax_C4(geometry: RasterGeometry = None, resampling: str = "nearest") -> Raster:
|
|
7
9
|
filename = join(abspath(dirname(__file__)), "peakVCmax_C4.tif")
|
|
8
|
-
image = Raster.open(filename, geometry=geometry, resampling=
|
|
10
|
+
image = Raster.open(filename, geometry=geometry, resampling=resampling, nodata=np.nan)
|
|
9
11
|
|
|
10
12
|
return image
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: BESS-JPL
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.16.0
|
|
4
4
|
Summary: Breathing Earth System Simulator (BESS) Gross Primary Production (GPP) and Evapotranspiration (ET) Model Python
|
|
5
5
|
Author-email: Gregory Halverson <gregory.h.halverson@jpl.nasa.gov>
|
|
6
6
|
Project-URL: Homepage, https://github.com/JPL-Evapotranspiration-Algorithms/BESS-JPL
|
|
@@ -22,21 +22,21 @@ BESS_JPL/canopy_longwave_radiation.py,sha256=TH5YaxyVgVP58moZ0aDGkMukJfcPQQgiYbu
|
|
|
22
22
|
BESS_JPL/canopy_shortwave_radiation.py,sha256=TzDGFFBVHcZ3s5v-R9pQYeW9PPvYDQ168VdoqtCXh4U,9767
|
|
23
23
|
BESS_JPL/carbon_uptake_efficiency.jpeg,sha256=wz2cLk_4-DRdF71xR2c-cx1MsE0CH-EDWjs2pDJcRF0,704540
|
|
24
24
|
BESS_JPL/carbon_uptake_efficiency.tif,sha256=Nnc8h2ImU6_sip0WzDh3q0BRoBe-CfCbwzDtYo5BSog,819269
|
|
25
|
-
BESS_JPL/carbon_water_fluxes.py,sha256=
|
|
25
|
+
BESS_JPL/carbon_water_fluxes.py,sha256=T1E1AHne3lYvkEoasqlM4oLxoSWLWmeJxy1BzrVdPUw,12987
|
|
26
26
|
BESS_JPL/constants.py,sha256=tOYubq17dnLVKhtTI0CJUQAEeROE4KeSBpOVBqZprUU,131
|
|
27
27
|
BESS_JPL/interpolate_C3_C4.py,sha256=adIyk03Yt6SJ_jFCUm6ivK9QpZYw10C3wJKpx1O56Pk,394
|
|
28
28
|
BESS_JPL/kn.jpeg,sha256=wsI40jabT9_iPpQmOxd3GZzfAN7oZ2DubiARmULFUS0,854097
|
|
29
29
|
BESS_JPL/kn.tif,sha256=nZAIAms7LRDVsadxa4z8yRqOudWu3AjJSm6l1T3ywuY,819988
|
|
30
|
-
BESS_JPL/load_C4_fraction.py,sha256=
|
|
31
|
-
BESS_JPL/load_NDVI_maximum.py,sha256=
|
|
32
|
-
BESS_JPL/load_NDVI_minimum.py,sha256=
|
|
30
|
+
BESS_JPL/load_C4_fraction.py,sha256=Fn8CKMzpvRCenlaVe8or9NnGmNZ-L5l_vdUpbjwcNSw,486
|
|
31
|
+
BESS_JPL/load_NDVI_maximum.py,sha256=CADnbDULc5qW0oR7UgNN9pM0oplz7QMf8Ki09_fbj-o,401
|
|
32
|
+
BESS_JPL/load_NDVI_minimum.py,sha256=RZaLXKxJe2ViEvj76_l-YSLIMyjo54nP4oAe-NEvACs,401
|
|
33
33
|
BESS_JPL/load_ball_berry_intercept_C3.py,sha256=6auXZHej127rhUCFXe7vdEg9C4CosFSHLTcdqKs06Ls,388
|
|
34
|
-
BESS_JPL/load_ball_berry_slope_C3.py,sha256=
|
|
35
|
-
BESS_JPL/load_ball_berry_slope_C4.py,sha256=
|
|
34
|
+
BESS_JPL/load_ball_berry_slope_C3.py,sha256=9nmbdkGnJ7UWXwktpkE8rL1LGA1vi71YZdzpme04P84,380
|
|
35
|
+
BESS_JPL/load_ball_berry_slope_C4.py,sha256=lsKwrkbChEm3sspUgAXjm86Q4VBirwFOZStiO9NuGx8,380
|
|
36
36
|
BESS_JPL/load_carbon_uptake_efficiency.py,sha256=RbWxLbqHnxiHw7XHyFBuWRToc8hDjUR6EUUntiJfe0M,390
|
|
37
|
-
BESS_JPL/load_kn.py,sha256=
|
|
38
|
-
BESS_JPL/load_peakVCmax_C3.py,sha256=
|
|
39
|
-
BESS_JPL/load_peakVCmax_C4.py,sha256=
|
|
37
|
+
BESS_JPL/load_kn.py,sha256=39RkQkkdmey0IPInziJI0kSiI8alRk5Hz42pzm-qihU,346
|
|
38
|
+
BESS_JPL/load_peakVCmax_C3.py,sha256=A-Wg4PjPgogfpRsAMo6ZNEXM7G3KbnF7ZRV3k_jTtEA,401
|
|
39
|
+
BESS_JPL/load_peakVCmax_C4.py,sha256=iVmJTitkMkB4AjfjanAi3yv1lWO4sSF6J7cjuRmaCwU,401
|
|
40
40
|
BESS_JPL/meteorology.py,sha256=xIPQnIk9wGJPy8esJyxn35d6c_7UyiNuWTJXDnuSwf8,6995
|
|
41
41
|
BESS_JPL/model.py,sha256=0JNCOeflASxA6iy70ppFuCkATPDnBDza2cQrJtHLtRY,22810
|
|
42
42
|
BESS_JPL/peakVCmax_C3.jpeg,sha256=nVvwLx8JyRhtm5lWRW93HLz0mInshEdOCJ1tAdcFqa8,1006133
|
|
@@ -46,8 +46,8 @@ BESS_JPL/peakVCmax_C4.tif,sha256=EST4_yy-HHYmazIv--RePL_bhLejMWql6hoV9EE38ok,155
|
|
|
46
46
|
BESS_JPL/process_BESS_table.py,sha256=TYsDEZNELGdUc0xkB1MRQIDkVonNL5d49q7Zl1iaJvo,1472
|
|
47
47
|
BESS_JPL/soil_energy_balance.py,sha256=5TKDVkKYJ8jhjuiwbRva_03fi_0gTM0IAKbSm4WhWnY,944
|
|
48
48
|
BESS_JPL/version.txt,sha256=-Q2F9kDoBjnO1g1dZcNwbI4pu99GLJDvdHkxmPdU4JU,6
|
|
49
|
-
bess_jpl-1.
|
|
50
|
-
bess_jpl-1.
|
|
51
|
-
bess_jpl-1.
|
|
52
|
-
bess_jpl-1.
|
|
53
|
-
bess_jpl-1.
|
|
49
|
+
bess_jpl-1.16.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
50
|
+
bess_jpl-1.16.0.dist-info/METADATA,sha256=q1qsKhcEH3_yB_Xo3AHDQORDQyuXM0Y6tpqNPqNsivU,6347
|
|
51
|
+
bess_jpl-1.16.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
52
|
+
bess_jpl-1.16.0.dist-info/top_level.txt,sha256=GaKnzt-BBktYn1o-w4Qzh_jHxse4Y3ACOxZQrB2ufhc,9
|
|
53
|
+
bess_jpl-1.16.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|