ngiab-data-preprocess 4.9.1__tar.gz → 4.9.3__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.
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/PKG-INFO +1 -1
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/create_realization.py +54 -66
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/PKG-INFO +1 -1
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/pyproject.toml +1 -1
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.github/pull_request_template.md +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.github/workflows/build_only.yml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.github/workflows/publish.yml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.gitignore +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/CITATION.cff +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/LICENSE +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/README.md +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/ciroh-bgsafe.png +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/dask_utils.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/dataset_utils.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/datasets.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/file_paths.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/forcings.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/gpkg_utils.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/graph_utils.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/s3fs_utils.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/subset.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/README.md +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/TBL_GENPARM.TBL +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/TBL_MPTABLE.TBL +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/TBL_SOILPARM.TBL +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/TBL_VEGPARM.TBL +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/basinParamInfo.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/fileManager.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/forcingFileList.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/localParamInfo.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/modelDecisions.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/SUMMA/outputControl.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/cfe.ini +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/dhbv2-daily.yaml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/dhbv2.yaml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/lstm.yml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/noah-owp-modular-init.namelist.input +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/sac-init.namelist.input +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/sac-params.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/snow17-init.namelist.input +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/snow17-params.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/catchment/summa.input +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/cfe-nom.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/dhbv2-daily.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/dhbv2.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/lstm-py.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/lstm-rs.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/sacsma-nom.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/snow17-nom-cfe.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/config/realization/summa.json +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/ngen-routing-template.yaml +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/source_validation.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/template.sql +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/triggers.sql +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/__init__.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/__main__.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/console.css +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/main.css +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/toggle.css +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/js/console.js +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/js/data_processing.js +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/js/main.js +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/resources/loading.gif +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/resources/screenshot.jpg +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/templates/index.html +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/views.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/__main__.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/arguments.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/custom_logging.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/forcing_cli.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/SOURCES.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/dependency_links.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/entry_points.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/requires.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_preprocess.egg-info/top_level.txt +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/setup.cfg +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/tests/test_nan_impute.py +0 -0
- {ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/tests/test_ngiab_data_cli_regression.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ngiab_data_preprocess
|
|
3
|
-
Version: 4.9.
|
|
3
|
+
Version: 4.9.3
|
|
4
4
|
Summary: Graphical Tools for creating Next Gen Water model input data.
|
|
5
5
|
Author-email: Josh Cunningham <jcunningham8@ua.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/CIROH-UA/NGIAB_data_preprocess
|
|
@@ -18,7 +18,11 @@ import xarray as xr
|
|
|
18
18
|
from data_processing.dask_utils import temp_cluster
|
|
19
19
|
from data_processing.file_paths import FilePaths
|
|
20
20
|
from data_processing.gpkg_utils import get_cat_to_nhd_feature_id, get_table_crs_short
|
|
21
|
-
from data_sources.source_validation import
|
|
21
|
+
from data_sources.source_validation import (
|
|
22
|
+
download_dhbv_attributes,
|
|
23
|
+
download_sacsma_attributes,
|
|
24
|
+
download_snow17_attributes,
|
|
25
|
+
)
|
|
22
26
|
from pyproj import Transformer
|
|
23
27
|
from tqdm.rich import tqdm
|
|
24
28
|
|
|
@@ -103,22 +107,27 @@ def make_noahowp_config(
|
|
|
103
107
|
end_datetime=end_datetime,
|
|
104
108
|
lat=row["latitude"],
|
|
105
109
|
lon=row["longitude"],
|
|
106
|
-
terrain_slope=
|
|
110
|
+
terrain_slope=np.degrees(
|
|
111
|
+
np.arctan(np.tan(np.radians(row["mean.slope"])) / 100)
|
|
112
|
+
),
|
|
107
113
|
azimuth=row["circ_mean.aspect"],
|
|
108
114
|
ISLTYP=int(row["mode.ISLTYP"]), # type: ignore
|
|
109
115
|
IVGTYP=int(row["mode.IVGTYP"]), # type: ignore
|
|
110
116
|
)
|
|
111
117
|
)
|
|
112
118
|
|
|
119
|
+
|
|
113
120
|
def make_snow17_config(
|
|
114
121
|
base_dir: Path, divide_conf_df: pandas.DataFrame, start_time: datetime, end_time: datetime
|
|
115
122
|
) -> None:
|
|
116
|
-
|
|
117
123
|
download_snow17_attributes()
|
|
118
124
|
snow17_atts = pandas.read_parquet(FilePaths.snow17_attributes)
|
|
119
125
|
atts_df = snow17_atts.loc[snow17_atts["divide_id"].isin(divide_conf_df["divide_id"])]
|
|
120
126
|
|
|
121
|
-
merged = atts_df.merge(
|
|
127
|
+
merged = atts_df.merge(
|
|
128
|
+
divide_conf_df[["divide_id", "areasqkm", "lengthkm", "latitude", "mean.elevation"]],
|
|
129
|
+
on="divide_id",
|
|
130
|
+
)
|
|
122
131
|
|
|
123
132
|
start_datetime = start_time.strftime("%Y%m%d%H")
|
|
124
133
|
end_datetime = end_time.strftime("%Y%m%d%H")
|
|
@@ -132,7 +141,7 @@ def make_snow17_config(
|
|
|
132
141
|
with open(cat_config_dir / f"{row['divide_id']}.input", "w") as file:
|
|
133
142
|
file.write(
|
|
134
143
|
config_template.format(
|
|
135
|
-
divide_id=row[
|
|
144
|
+
divide_id=row["divide_id"],
|
|
136
145
|
start_datetime=start_datetime,
|
|
137
146
|
end_datetime=end_datetime,
|
|
138
147
|
)
|
|
@@ -145,39 +154,15 @@ def make_snow17_config(
|
|
|
145
154
|
with open(cat_config_dir / f"params-{row['divide_id']}.txt", "w") as file:
|
|
146
155
|
file.write(
|
|
147
156
|
params_template.format(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
latitude=row['latitude'],
|
|
151
|
-
elevation=row['mean.elevation'],
|
|
152
|
-
scf=row['scf'],
|
|
153
|
-
mfmax=row['mfmax'],
|
|
154
|
-
mfmin=row['mfmin'],
|
|
155
|
-
uadj=row['uadj'],
|
|
156
|
-
si=row['si'],
|
|
157
|
-
pxtemp=row['pxtemp'],
|
|
158
|
-
nmf=row['nmf'],
|
|
159
|
-
tipm=row['tipm'],
|
|
160
|
-
mbase=row['mbase'],
|
|
161
|
-
plwhc=row['plwhc'],
|
|
162
|
-
daygm=row['daygm'],
|
|
163
|
-
adc1=row['adc1'],
|
|
164
|
-
adc2=row['adc2'],
|
|
165
|
-
adc3=row['adc3'],
|
|
166
|
-
adc4=row['adc4'],
|
|
167
|
-
adc5=row['adc5'],
|
|
168
|
-
adc6=row['adc6'],
|
|
169
|
-
adc7=row['adc7'],
|
|
170
|
-
adc8=row['adc8'],
|
|
171
|
-
adc9=row['adc9'],
|
|
172
|
-
adc10=row['adc10'],
|
|
173
|
-
adc11=row['adc11'],
|
|
157
|
+
**row,
|
|
158
|
+
elevation=row["mean.elevation"] / 100, # convert cm in hf to m
|
|
174
159
|
)
|
|
175
160
|
)
|
|
176
161
|
|
|
162
|
+
|
|
177
163
|
def make_sacsma_config(
|
|
178
164
|
base_dir: Path, divide_conf_df: pandas.DataFrame, start_time: datetime, end_time: datetime
|
|
179
165
|
) -> None:
|
|
180
|
-
|
|
181
166
|
download_sacsma_attributes()
|
|
182
167
|
sacsma_atts = pandas.read_parquet(FilePaths.sacsma_attributes)
|
|
183
168
|
atts_df = sacsma_atts.loc[sacsma_atts["divide_id"].isin(divide_conf_df["divide_id"])]
|
|
@@ -195,7 +180,7 @@ def make_sacsma_config(
|
|
|
195
180
|
with open(cat_config_dir / f"{row['divide_id']}.input", "w") as file:
|
|
196
181
|
file.write(
|
|
197
182
|
config_template.format(
|
|
198
|
-
divide_id=row[
|
|
183
|
+
divide_id=row["divide_id"],
|
|
199
184
|
start_datetime=start_datetime,
|
|
200
185
|
end_datetime=end_datetime,
|
|
201
186
|
)
|
|
@@ -208,27 +193,28 @@ def make_sacsma_config(
|
|
|
208
193
|
with open(cat_config_dir / f"params-{row['divide_id']}.txt", "w") as file:
|
|
209
194
|
file.write(
|
|
210
195
|
params_template.format(
|
|
211
|
-
divide_id=row[
|
|
212
|
-
areasqkm=row[
|
|
213
|
-
uztwm=row[
|
|
214
|
-
uzfwm=row[
|
|
215
|
-
lztwm=row[
|
|
216
|
-
lzfpm=row[
|
|
217
|
-
lzfsm=row[
|
|
218
|
-
adimp=row[
|
|
219
|
-
uzk=row[
|
|
220
|
-
lzpk=row[
|
|
221
|
-
lzsk=row[
|
|
222
|
-
zperc=row[
|
|
223
|
-
rexp=row[
|
|
224
|
-
pctim=row[
|
|
225
|
-
pfree=row[
|
|
226
|
-
riva=row[
|
|
227
|
-
side=row[
|
|
228
|
-
rserv=row[
|
|
196
|
+
divide_id=row["divide_id"],
|
|
197
|
+
areasqkm=row["areasqkm"],
|
|
198
|
+
uztwm=row["uztwm"],
|
|
199
|
+
uzfwm=row["uzfwm"],
|
|
200
|
+
lztwm=row["lztwm"],
|
|
201
|
+
lzfpm=row["lzfpm"],
|
|
202
|
+
lzfsm=row["lzfsm"],
|
|
203
|
+
adimp=row["adimp"],
|
|
204
|
+
uzk=row["uzk"],
|
|
205
|
+
lzpk=row["lzpk"],
|
|
206
|
+
lzsk=row["lzsk"],
|
|
207
|
+
zperc=row["zperc"],
|
|
208
|
+
rexp=row["rexp"],
|
|
209
|
+
pctim=row["pctim"],
|
|
210
|
+
pfree=row["pfree"],
|
|
211
|
+
riva=row["riva"],
|
|
212
|
+
side=row["side"],
|
|
213
|
+
rserv=row["rserv"],
|
|
229
214
|
)
|
|
230
215
|
)
|
|
231
216
|
|
|
217
|
+
|
|
232
218
|
def get_model_attributes(hydrofabric: Path, layer: str = "divides") -> pandas.DataFrame:
|
|
233
219
|
with sqlite3.connect(hydrofabric) as conn:
|
|
234
220
|
conf_df = pandas.read_sql_query(
|
|
@@ -262,13 +248,8 @@ def make_lstm_config(
|
|
|
262
248
|
shutil.rmtree(cat_config_dir)
|
|
263
249
|
cat_config_dir.mkdir(parents=True, exist_ok=True)
|
|
264
250
|
|
|
265
|
-
# convert the mean.slope from degrees
|
|
266
|
-
|
|
267
|
-
divide_conf_df["flipped_mean_slope"] = abs(divide_conf_df["mean.slope"] - 90)
|
|
268
|
-
# Convert degrees to meters per kmmeter
|
|
269
|
-
divide_conf_df["mean_slope_mpkm"] = (
|
|
270
|
-
np.tan(np.radians(divide_conf_df["flipped_mean_slope"])) * 1000
|
|
271
|
-
)
|
|
251
|
+
# convert the mean.slope from degrees cm/m to m/km
|
|
252
|
+
divide_conf_df["mean_slope_mpkm"] = np.tan(np.radians(divide_conf_df["mean.slope"])) * 10
|
|
272
253
|
|
|
273
254
|
with open(template_path, "r") as file:
|
|
274
255
|
template = file.read()
|
|
@@ -317,7 +298,7 @@ def make_dhbv2_config(
|
|
|
317
298
|
start_time=start_time,
|
|
318
299
|
end_time=end_time,
|
|
319
300
|
start_date=start_time.strftime("%Y/%m/%d"),
|
|
320
|
-
start_time_str=start_time.strftime("%Y/%m/%d %H")
|
|
301
|
+
start_time_str=start_time.strftime("%Y/%m/%d %H"),
|
|
321
302
|
)
|
|
322
303
|
)
|
|
323
304
|
|
|
@@ -486,9 +467,8 @@ def make_summa_attributes(hru_ids, hydrofabric):
|
|
|
486
467
|
# Convert elevation from cm to m
|
|
487
468
|
elevation = df["mean.elevation"].values / 100.0
|
|
488
469
|
|
|
489
|
-
# Convert mean.slope (degrees,
|
|
490
|
-
|
|
491
|
-
tan_slope = np.tan(np.radians(flipped))
|
|
470
|
+
# Convert mean.slope (degrees, cm/m) to tan_slope (m/m)
|
|
471
|
+
tan_slope = np.tan(np.radians((df["mean.slope"].values))) / 100.0
|
|
492
472
|
|
|
493
473
|
ds = xr.Dataset(
|
|
494
474
|
{
|
|
@@ -701,8 +681,14 @@ def create_summa_realization(cat_id: str, start_time: datetime, end_time: dateti
|
|
|
701
681
|
make_summa_config(hru_ids, paths.config_dir)
|
|
702
682
|
paths.setup_run_folders(["outputs/summa"])
|
|
703
683
|
|
|
704
|
-
|
|
705
|
-
|
|
684
|
+
|
|
685
|
+
def create_snow17_realization(
|
|
686
|
+
cat_id: str,
|
|
687
|
+
start_time: datetime,
|
|
688
|
+
end_time: datetime,
|
|
689
|
+
use_nwm_gw: bool = False,
|
|
690
|
+
gage_id: Optional[str] = None,
|
|
691
|
+
):
|
|
706
692
|
paths = FilePaths(cat_id)
|
|
707
693
|
|
|
708
694
|
conf_df = get_model_attributes(paths.geopackage_path)
|
|
@@ -724,9 +710,10 @@ def create_snow17_realization(cat_id: str, start_time: datetime, end_time: datet
|
|
|
724
710
|
)
|
|
725
711
|
paths.setup_run_folders()
|
|
726
712
|
|
|
727
|
-
def create_sacsma_realization(cat_id: str, start_time: datetime, end_time: datetime,
|
|
728
|
-
gage_id: Optional[str] = None):
|
|
729
713
|
|
|
714
|
+
def create_sacsma_realization(
|
|
715
|
+
cat_id: str, start_time: datetime, end_time: datetime, gage_id: Optional[str] = None
|
|
716
|
+
):
|
|
730
717
|
paths = FilePaths(cat_id)
|
|
731
718
|
|
|
732
719
|
conf_df = get_model_attributes(paths.geopackage_path)
|
|
@@ -742,6 +729,7 @@ def create_sacsma_realization(cat_id: str, start_time: datetime, end_time: datet
|
|
|
742
729
|
)
|
|
743
730
|
paths.setup_run_folders()
|
|
744
731
|
|
|
732
|
+
|
|
745
733
|
def create_realization(
|
|
746
734
|
cat_id: str,
|
|
747
735
|
start_time: datetime,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ngiab_data_preprocess
|
|
3
|
-
Version: 4.9.
|
|
3
|
+
Version: 4.9.3
|
|
4
4
|
Summary: Graphical Tools for creating Next Gen Water model input data.
|
|
5
5
|
Author-email: Josh Cunningham <jcunningham8@ua.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/CIROH-UA/NGIAB_data_preprocess
|
|
@@ -19,7 +19,7 @@ filterwarnings = [
|
|
|
19
19
|
]
|
|
20
20
|
[project]
|
|
21
21
|
name = "ngiab_data_preprocess"
|
|
22
|
-
version = "v4.9.
|
|
22
|
+
version = "v4.9.3"
|
|
23
23
|
authors = [{ name = "Josh Cunningham", email = "jcunningham8@ua.edu" }]
|
|
24
24
|
description = "Graphical Tools for creating Next Gen Water model input data."
|
|
25
25
|
readme = "README.md"
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.github/pull_request_template.md
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/.github/workflows/build_only.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/dask_utils.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/dataset_utils.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/datasets.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/file_paths.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/forcings.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/gpkg_utils.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/graph_utils.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/s3fs_utils.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_processing/subset.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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/template.sql
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/data_sources/triggers.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/console.css
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/main.css
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/css/toggle.css
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/js/console.js
RENAMED
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/static/js/main.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/map_app/templates/index.html
RENAMED
|
File without changes
|
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/__main__.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/arguments.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/custom_logging.py
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/modules/ngiab_data_cli/forcing_cli.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
|
{ngiab_data_preprocess-4.9.1 → ngiab_data_preprocess-4.9.3}/tests/test_ngiab_data_cli_regression.py
RENAMED
|
File without changes
|