ECOv002-calval-tables 1.7.1__tar.gz → 1.9.0__tar.gz
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.
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/load_tables.py +8 -1
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/upscale_to_daylight.py +3 -3
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/PKG-INFO +1 -1
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/PKG-INFO +1 -1
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/pyproject.toml +1 -1
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/ECOv002_calval_tables.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/__init__.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/combined_eco_flux_EC_filtered.csv +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/ec_lib.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/error_funcs.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/metadata_ebc_filt.csv +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/plot_funcs.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/plot_single_model.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/version.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/SOURCES.txt +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/dependency_links.txt +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/requires.txt +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/top_level.txt +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/LICENSE +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/README.md +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/setup.cfg +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_import_ECOv002_calval_tables.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_import_dependencies.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_load_calval_table.py +0 -0
- {ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_load_metadata_ebc_filt.py +0 -0
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/load_tables.py
RENAMED
|
@@ -32,6 +32,7 @@ def load_metadata_ebc_filt() -> gpd.GeoDataFrame:
|
|
|
32
32
|
|
|
33
33
|
geometry = [Point(xy) for xy in zip(df['Long'], df['Lat'])]
|
|
34
34
|
gdf = gpd.GeoDataFrame(df, geometry=geometry, crs="EPSG:4326")
|
|
35
|
+
gdf["elevation_m"] = gdf["Elev"]
|
|
35
36
|
|
|
36
37
|
return gdf
|
|
37
38
|
|
|
@@ -58,11 +59,17 @@ def load_calval_table() -> gpd.GeoDataFrame:
|
|
|
58
59
|
|
|
59
60
|
merged_df["time_UTC"] = merged_df["eco_time_utc"]
|
|
60
61
|
merged_df["ST_K"] = np.array(merged_df.LST)
|
|
61
|
-
merged_df["ST_C"] = merged_df.ST_K - 273.15
|
|
62
|
+
merged_df["ST_C"] = np.array(merged_df.ST_K - 273.15)
|
|
62
63
|
merged_df["Ta_C"] = np.array(merged_df.Ta)
|
|
63
64
|
merged_df["SWin_Wm2"] = np.array(merged_df.Rg)
|
|
64
65
|
merged_df["emissivity"] = np.array(merged_df.EmisWB)
|
|
65
66
|
|
|
67
|
+
merged_df["insitu_LE_Wm2"] = np.array(merged_df.LEcorr50)
|
|
68
|
+
merged_df["insitu_H_Wm2"] = np.array(merged_df.Hcorr50)
|
|
69
|
+
merged_df["insitu_Rn_Wm2"] = np.array(merged_df.NETRAD_filt)
|
|
70
|
+
merged_df["insitu_G_Wm2"] = np.array(merged_df.G_filt)
|
|
71
|
+
merged_df["insitu_SWin_Wm2"] = np.array(merged_df.SW_IN)
|
|
72
|
+
|
|
66
73
|
# Convert merged DataFrame to GeoDataFrame
|
|
67
74
|
gdf = gpd.GeoDataFrame(merged_df, geometry=merged_df["geometry"], crs="EPSG:4326")
|
|
68
75
|
|
|
@@ -3,9 +3,9 @@ from daylight_evapotranspiration import daylight_ET_from_instantaneous_LE
|
|
|
3
3
|
|
|
4
4
|
def upscale_to_daylight(df: pd.DataFrame, prefix: str = "insitu_") -> pd.DataFrame:
|
|
5
5
|
daylight_results = daylight_ET_from_instantaneous_LE(
|
|
6
|
-
LE_instantaneous_Wm2=df.
|
|
7
|
-
Rn_instantaneous_Wm2=df.
|
|
8
|
-
G_instantaneous_Wm2=df.
|
|
6
|
+
LE_instantaneous_Wm2=df.insitu_LE_Wm2,
|
|
7
|
+
Rn_instantaneous_Wm2=df.insitu_Rn_Wm2,
|
|
8
|
+
G_instantaneous_Wm2=df.insitu_G_Wm2,
|
|
9
9
|
time_UTC=df.time_UTC,
|
|
10
10
|
geometry=df.geometry
|
|
11
11
|
)
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ECOv002-calval-tables
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0
|
|
4
4
|
Summary: Priestley-Taylor Jet Propulsion Laboratory Soil Moisutre Evapotranspiration Model
|
|
5
5
|
Author-email: Gregory Halverson <gregory.h.halverson@jpl.nasa.gov>, Zoe Pierrat <zoe.a.pierrat@jpl.nasa.gov>
|
|
6
6
|
Project-URL: Homepage, https://github.com/gregory-halverson/ECOv002-calval-tables
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ECOv002-calval-tables
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0
|
|
4
4
|
Summary: Priestley-Taylor Jet Propulsion Laboratory Soil Moisutre Evapotranspiration Model
|
|
5
5
|
Author-email: Gregory Halverson <gregory.h.halverson@jpl.nasa.gov>, Zoe Pierrat <zoe.a.pierrat@jpl.nasa.gov>
|
|
6
6
|
Project-URL: Homepage, https://github.com/gregory-halverson/ECOv002-calval-tables
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/error_funcs.py
RENAMED
|
File without changes
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/plot_funcs.py
RENAMED
|
File without changes
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/ECOv002_calval_tables/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_import_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{ecov002_calval_tables-1.7.1 → ecov002_calval_tables-1.9.0}/tests/test_load_metadata_ebc_filt.py
RENAMED
|
File without changes
|