DOI-USGS / DOI-USGS/pywatershed

improve nc4 support in data_model

Open
#202 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

currently many data_model and DatasetDict tests are not carried out using netcdf4, but only xarray. this is because certain variable types (particularly time) needs extra code. I explored the code for how xarray solves this (using netcdf4 as a backend), but it is not obvious.

along these lines, the test_prms_param_separate.py does not separate parameters using netcdf4. Would be good to have that included.

Contributor guide

Open the contributing guide

Research direction

Start by reading the data_model and DatasetDict tests, then inspect test_prms_param_separate.py and how the existing tests select their backend. Determine the extra handling needed for netcdf4, including time variables. Done means the relevant data_model and DatasetDict tests, plus parameter separation, also run successfully with netcdf4.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.