BESS-JPL 1.14.0__py3-none-any.whl → 1.15.1__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/model.py CHANGED
@@ -16,7 +16,7 @@ from gedi_canopy_height import load_canopy_height, GEDI_DOWNLOAD_DIRECTORY
16
16
  from FLiESANN import FLiESANN
17
17
  from GEOS5FP import GEOS5FP
18
18
  from MODISCI import MODISCI
19
- from NASADEM import NASADEM
19
+ from NASADEM import NASADEMConnection
20
20
 
21
21
  from .constants import *
22
22
  from .C3_photosynthesis import *
@@ -88,6 +88,7 @@ def BESS_JPL(
88
88
  peakVCmax_C4: np.ndarray = None, # peak maximum carboxylation rate for C4 plants
89
89
  CI: Union[Raster, np.ndarray] = None,
90
90
  MODISCI_connection: MODISCI = None,
91
+ NASADEM_connection: NASADEMConnection = None,
91
92
  resampling: str = RESAMPLING,
92
93
  GEDI_download_directory: str = GEDI_DOWNLOAD_DIRECTORY): # clumping index
93
94
  if geometry is None and isinstance(ST_C, Raster):
@@ -104,7 +105,11 @@ def BESS_JPL(
104
105
  raise ValueError("no time given between time_UTC, day_of_year, and hour_of_day")
105
106
 
106
107
  if elevation_km is None and geometry is not None:
107
- elevation_km = NASADEM.elevation_km(geometry=geometry)
108
+ if NASADEM_connection is None:
109
+ from NASADEM import NASADEMConnection
110
+ NASADEM_connection = NASADEMConnection()
111
+
112
+ elevation_km = NASADEM_connection.elevation_km(geometry=geometry)
108
113
 
109
114
  # load air temperature in Celsius if not provided
110
115
  if Ta_C is None:
BESS_JPL/version.txt CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: BESS-JPL
3
- Version: 1.14.0
3
+ Version: 1.15.1
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
@@ -15,7 +15,7 @@ Requires-Dist: gedi-canopy-height>=1.1.0
15
15
  Requires-Dist: GEOS5FP>=1.1.1
16
16
  Requires-Dist: koppengeiger>=1.0.4
17
17
  Requires-Dist: MODISCI>=1.3.0
18
- Requires-Dist: NASADEM
18
+ Requires-Dist: NASADEM>=1.3.0
19
19
  Requires-Dist: numpy
20
20
  Requires-Dist: rasters
21
21
  Requires-Dist: solar-apparent-time>=1.3.2
@@ -38,16 +38,16 @@ BESS_JPL/load_kn.py,sha256=_IE7w_VfahubfqjvgE6F6HCO0SizcpMu104_7ZXOiaw,345
38
38
  BESS_JPL/load_peakVCmax_C3.py,sha256=ISaCyaN81F3CyYbYwUqvUfQ_vjn4_jCpt1_x_b4fY5o,365
39
39
  BESS_JPL/load_peakVCmax_C4.py,sha256=8vtjEiJKCqSK04DfTs8Zgn-rWwGucmeeLMzblLT1U-Y,365
40
40
  BESS_JPL/meteorology.py,sha256=xIPQnIk9wGJPy8esJyxn35d6c_7UyiNuWTJXDnuSwf8,6995
41
- BESS_JPL/model.py,sha256=WMUvWfG4ykuDE4wXwt6Tm7dMXWa1x69sCX4VwfumULM,22592
41
+ BESS_JPL/model.py,sha256=0JNCOeflASxA6iy70ppFuCkATPDnBDza2cQrJtHLtRY,22810
42
42
  BESS_JPL/peakVCmax_C3.jpeg,sha256=nVvwLx8JyRhtm5lWRW93HLz0mInshEdOCJ1tAdcFqa8,1006133
43
43
  BESS_JPL/peakVCmax_C3.tif,sha256=ax6wCOPc_ovgJJl9YRjPWNY13OCGlzs2djXqwob_U7A,1583598
44
44
  BESS_JPL/peakVCmax_C4.jpeg,sha256=s7dhpcD573KW9Se4mejDeSzbSHqPtQY2EL6KJKt7ZIo,961497
45
45
  BESS_JPL/peakVCmax_C4.tif,sha256=EST4_yy-HHYmazIv--RePL_bhLejMWql6hoV9EE38ok,1556928
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
- BESS_JPL/version.txt,sha256=RbLZ3HRjNFvW-intziwQiZdlsdIv7hN9kC7dC9m_LTc,6
49
- bess_jpl-1.14.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
50
- bess_jpl-1.14.0.dist-info/METADATA,sha256=1Ufu_DEGzbWHkhGA7skFaG4C2YK-rGoPBqVqiNCGnJo,6340
51
- bess_jpl-1.14.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
- bess_jpl-1.14.0.dist-info/top_level.txt,sha256=GaKnzt-BBktYn1o-w4Qzh_jHxse4Y3ACOxZQrB2ufhc,9
53
- bess_jpl-1.14.0.dist-info/RECORD,,
48
+ BESS_JPL/version.txt,sha256=-Q2F9kDoBjnO1g1dZcNwbI4pu99GLJDvdHkxmPdU4JU,6
49
+ bess_jpl-1.15.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
50
+ bess_jpl-1.15.1.dist-info/METADATA,sha256=rdUSpnCKyokULMfGO6E-eozn8MujX-2Qd8W8ufJN4U8,6347
51
+ bess_jpl-1.15.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
+ bess_jpl-1.15.1.dist-info/top_level.txt,sha256=GaKnzt-BBktYn1o-w4Qzh_jHxse4Y3ACOxZQrB2ufhc,9
53
+ bess_jpl-1.15.1.dist-info/RECORD,,