cwms-cli 0.3.5__tar.gz → 0.3.6__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.
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/PKG-INFO +1 -1
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/__init__.py +7 -3
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/pyproject.toml +1 -1
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/LICENSE +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/README.md +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/__main__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/callbacks/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/blob.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/commands_cwms.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/.gitignore +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/README.md +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/__main__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/config.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/doclinks.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/examples/complete_config.json +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/parser.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/data/.gitignore +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/data/expected_brok_output.json +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/data/sample_brok.csv +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/data/sample_config.json +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/skip_test_integration_pipeline.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/test_dateutils.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/test_expressions.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/test_fileio.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/test_main.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/transform.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/utils/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/utils/dateutils.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/utils/expression.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/utils/fileio.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/utils/logging.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/writer.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/shef_critfile_import.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/README.md +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/__main__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/location/location.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/location/location_ids.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/location/location_ids_bygroup.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/root.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/timeseries/timeseries.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/load/timeseries/timeseries_ids.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/requirements.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/__main__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/getUSGS_ratings_cda.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/getusgs_cda.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/getusgs_measurements_cda.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/usgs/rating_ini_file_import.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/click_help.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/colors.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/deps.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/intervals.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/io.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/links.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/logging/__init__.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/logging/formatters.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/ssl_errors.py +0 -0
- {cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/utils/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cwms-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Command line utilities for Corps Water Management Systems (CWMS) python scripts. This is a collection of shared scripts across the enterprise Water Management Enterprise System (WMES) teams.
|
|
5
5
|
License: LICENSE
|
|
6
6
|
License-File: LICENSE
|
|
@@ -46,7 +46,7 @@ def getusgs_timeseries(office, days_back, api_root, api_key, api_key_loc, backfi
|
|
|
46
46
|
from cwmscli.usgs.getusgs_cda import getusgs_cda
|
|
47
47
|
|
|
48
48
|
if backfill is not None:
|
|
49
|
-
backfill_list =
|
|
49
|
+
backfill_list = [item.strip() for item in backfill.split(",") if item.strip()]
|
|
50
50
|
else:
|
|
51
51
|
backfill_list = None
|
|
52
52
|
|
|
@@ -78,7 +78,9 @@ def getusgs_ratings(office, days_back, api_root, api_key, api_key_loc, rating_su
|
|
|
78
78
|
from cwmscli.usgs.getUSGS_ratings_cda import getusgs_rating_cda
|
|
79
79
|
|
|
80
80
|
if rating_subset is not None:
|
|
81
|
-
rating_list =
|
|
81
|
+
rating_list = [
|
|
82
|
+
item.strip() for item in rating_subset.split(",") if item.strip()
|
|
83
|
+
]
|
|
82
84
|
else:
|
|
83
85
|
rating_list = None
|
|
84
86
|
|
|
@@ -158,7 +160,9 @@ def getusgs_measurements(
|
|
|
158
160
|
if "group" in backfill:
|
|
159
161
|
backfill_group = True
|
|
160
162
|
elif type(backfill) == str:
|
|
161
|
-
backfill_list =
|
|
163
|
+
backfill_list = [
|
|
164
|
+
item.strip() for item in backfill.split(",") if item.strip()
|
|
165
|
+
]
|
|
162
166
|
api_key = get_api_key(api_key, api_key_loc)
|
|
163
167
|
getusgs_measurement_cda(
|
|
164
168
|
api_root=api_root,
|
|
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
|
{cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/data/expected_brok_output.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cwms_cli-0.3.5 → cwms_cli-0.3.6}/cwmscli/commands/csv2cwms/tests/skip_test_integration_pipeline.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|