Skip to content

Commit

Permalink
Merge pull request #152 from noaa-ocs-modeling/bugfix/nwm
Browse files Browse the repository at this point in the history
Fix issues for using NWM
  • Loading branch information
SorooshMani-NOAA authored Jan 4, 2023
2 parents 25a599e + da42960 commit 8435427
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions coupledmodeldriver/configure/forcings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,23 +811,29 @@ class NationalWaterModelFocringJSON(HydrologyForcingJSON, FileGenForcingJSON):
National water model file configuration in ``configure_nwm.json``
.. code-block:: python
TODO
configuration = NationalWaterModelFocringJSON(
resource='NWM_v2.0_channel_hydrofabric/nwm_v2_0_hydrofabric.gdb',
cache=True,
source_json='source.json',
sink_json='sink.json',
pairing_hgrid='hgrid.grd'
)
"""

name = 'NWM'
default_filename = f'configure_nwm.json'
default_aggregation_radius = None
default_cache = False
default_source_json: PathLike
default_sink_json: PathLike
default_pairing_hgrid: PathLike
default_source_json: Path
default_sink_json: Path
default_pairing_hgrid: Path
field_types = {
'aggregation_radius': float,
'cache': bool,
'source_json': PathLike,
'sink_json': PathLike,
'pairing_hgrid': PathLike,
'source_json': Path,
'sink_json': Path,
'pairing_hgrid': Path,
}

def __init__(
Expand Down

0 comments on commit 8435427

Please sign in to comment.