Skip to content

Commit 5a478d5

Browse files
committed
Further document NMOSE POD & Update README/CHANGELOG
1 parent 2cc2c77 commit 5a478d5

5 files changed

Lines changed: 22 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1111
- `earliest_date`, `earliest_time`, `earliest_value`, and `earliest_units` to the summary table
1212
- `die wells` to get all wells for which the DIE reports observations
1313
- `die source {parameter}` to list sources that report a particular parameter
14+
- NM OSE PODs, though its information is only currently available for the invocation of `die wells`
1415

1516
### Changed
1617
- NM OSE Roswell data is now pulled from ST2 and not CKAN

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Data comes from the following sources. We are continuously adding new sources as
3030
- Available data: `water levels`, `water quality`
3131
- [New Mexico Environment Department Drinking Water Bureau (NMED DWB)](https://nmenv.newmexicowaterdata.org/FROST-Server/v1.1/)
3232
- Available data: `water quality`
33+
- [New Mexico Office of the State Engineer Points of Diversions (NMOSEPODs)](https://services2.arcgis.com/qXZbWTdPDbTjl7Dy/ArcGIS/rest/services/OSE_PODs/FeatureServer/0)
34+
- Available data: `None`
3335
- [New Mexico Office of the State Engineer ISC Seven Rivers (NMOSE ISC Seven Rivers)](https://nmisc-wf.gladata.com/api/getMonitoringPoints.ashx)
3436
- Available data: `water levels`, `water quality`
3537
- [New Mexico Office of the State Engineer Roswell District Office (NMOSE Roswell)](https://catalog.newmexicowaterdata.org/dataset/pecos_region_manual_groundwater_levels)
@@ -63,6 +65,7 @@ where `{parameter}` is the name of the parameter whose data is to be retrieved,
6365
| **nmbgmr-amp** | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
6466
| **nmed-dwb** | - | X | X | X | - | X | X | X | X | X | X | X | X | X | X | X |
6567
| **nmose-isc-seven-rivers** | X | - | X | X | - | X | X | X | X | X | X | X | X | X | X | - |
68+
| **nmose-pod** | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
6669
| **nmose-roswell** | X | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
6770
| **nwis** | X | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
6871
| **pvacd** | X | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
@@ -171,6 +174,7 @@ The Data Integration Engine enables the user to obtain groundwater level and gro
171174
- `--no-nmbgmr-amp` to exclude New Mexico Bureau of Geology and Mineral Resources (NMBGMR) Aquifer Mapping Program (AMP) data
172175
- `--no-nmed-dwb` to exclude New Mexico Environment Department (NMED) Drinking Water Bureau (DWB) data
173176
- `--no-nmose-isc-seven-rivers` to exclude New Mexico Office of State Engineer (NMOSE) Interstate Stream Commission (ISC) Seven Rivers data
177+
- `--no-nmose-pod` to exclude New Mexico Office of State Engineer (NMOSE) Point of Diversion (POD) data (though none except for well information is currently available)
174178
- `--no-nmose-roswell` to exclude New Mexico Office of State Engineer (NMOSE) Roswell data
175179
- `--no-nwis` to exclude USGS NWIS data
176180
- `--no-pvacd` to exclude Pecos Valley Artesian Convservancy District (PVACD) data

backend/config.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@
9191
"nmbgmr_amp": NMBGMRSiteSource,
9292
"nmed_dwb": DWBSiteSource,
9393
"nmose_isc_seven_rivers": ISCSevenRiversSiteSource,
94+
"nmose_pod": NMOSEPODSiteSource,
9495
"nmose_roswell": NMOSERoswellSiteSource,
9596
"nwis": NWISSiteSource,
9697
"pvacd": PVACDSiteSource,
9798
"wqp": WQPSiteSource,
98-
"nmose_pod": NMOSEPODSiteSource,
9999
}
100100

101101
SOURCE_KEYS = sorted(list(SOURCE_DICT.keys()))
@@ -134,11 +134,11 @@ class Config(Loggable):
134134
use_source_nmbgmr_amp: bool = True
135135
use_source_nmed_dwb: bool = True
136136
use_source_nmose_isc_seven_rivers: bool = True
137+
use_source_nmose_pod: bool = True
137138
use_source_nmose_roswell: bool = True
138139
use_source_nwis: bool = True
139140
use_source_pvacd: bool = True
140141
use_source_wqp: bool = True
141-
use_source_nmose_pod: bool = True
142142

143143
# parameter
144144
parameter: str = ""
@@ -205,12 +205,13 @@ def get_config_and_false_agencies(self):
205205
"ebid",
206206
"nmbgmr_amp",
207207
"nmose_isc_seven_rivers",
208+
"nmose_pod",
208209
"nmose_roswell",
209210
"nwis",
210211
"pvacd",
211212
"wqp",
212213
]
213-
false_agencies = ["bor", "nmed_dwb"]
214+
false_agencies = ["bor", "nmose_pod", "nmed_dwb"]
214215
elif self.parameter == CARBONATE:
215216
config_agencies = ["nmbgmr_amp", "wqp"]
216217
false_agencies = [
@@ -220,6 +221,7 @@ def get_config_and_false_agencies(self):
220221
"ebid",
221222
"nmed_dwb",
222223
"nmose_isc_seven_rivers",
224+
"nmose_pod",
223225
"nmose_roswell",
224226
"nwis",
225227
"pvacd",
@@ -232,6 +234,7 @@ def get_config_and_false_agencies(self):
232234
"ebid",
233235
"nmose_isc_seven_rivers",
234236
"nmose_roswell",
237+
"nmose_pod",
235238
"nwis",
236239
"pvacd",
237240
]
@@ -261,6 +264,7 @@ def get_config_and_false_agencies(self):
261264
"cabq",
262265
"ebid",
263266
"nmose_roswell",
267+
"nmose_pod",
264268
"nwis",
265269
"pvacd",
266270
]

frontend/cli.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ def cli():
8282
show_default=True,
8383
help="Exclude NMOSE ISC Seven Rivers data. Default is to include",
8484
),
85+
click.option(
86+
"--no-nmose-pod",
87+
is_flag=True,
88+
default=True,
89+
show_default=True,
90+
help="Exclude NMOSE POD data. Default is to include",
91+
),
8592
click.option(
8693
"--no-nmose-roswell",
8794
is_flag=True,
@@ -228,6 +235,7 @@ def weave(
228235
no_nmbgmr_amp,
229236
no_nmed_dwb,
230237
no_nmose_isc_seven_rivers,
238+
no_nmose_pod,
231239
no_nmose_roswell,
232240
no_nwis,
233241
no_pvacd,
@@ -309,6 +317,7 @@ def wells(
309317
no_nmbgmr_amp,
310318
no_nmed_dwb,
311319
no_nmose_isc_seven_rivers,
320+
no_nmose_pod,
312321
no_nmose_roswell,
313322
no_nwis,
314323
no_pvacd,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
setup(
2323
name="nmuwd",
24-
version="0.8.0",
24+
version="0.8.1",
2525
author="Jake Ross",
2626
description="New Mexico Water Data Integration Engine",
2727
long_description=long_description,

0 commit comments

Comments
 (0)