DOI-USGS / DOI-USGS/pywatershed

general machanism for getting spatial_id_name from netcdf file

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
54
Forks
25
Avg merge
14h 56m
Merged PRs (30d)
10

Description

this is too hard-coded

https://github.com/EC-USGS/pynhm/blob/ef9e439a515c2adc4620b1e686985c6a56757597/pynhm/utils/netcdf_utils.py#L141

require global metadata in the file saying "generic=specific"?
in absence of global metadata, have a default to the non-time dimension?
is there another way in parameters or control?

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced pynhm/utils/netcdf_utils.py around line 141 and compare it with the corresponding pywatershed code. Determine how spatial_id_name is currently obtained, then clarify the intended precedence between global metadata, the non-time dimension fallback, and parameters or control before defining completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.