Skip to content

Edits to merge GHI NRT and NRT-Streamflow - #1769

Draft
emkemp wants to merge 21 commits into
NASA-LIS:masterfrom
emkemp:feature/lis78_flexout
Draft

Edits to merge GHI NRT and NRT-Streamflow#1769
emkemp wants to merge 21 commits into
NASA-LIS:masterfrom
emkemp:feature/lis78_flexout

Conversation

@emkemp

@emkemp emkemp commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

Description

Changes to allow merger of GHI NRT and NRT-Streamflow workflows. Includes changes to file name conventions.

With these changes, "NRT" includes both "NRT" and "NRT-Streamflow"
variables written by LIS in 557WW streamflow convention.  The SURFACEMODEL
data (in 1d tilespace) is then postprocessed by LVT and related
scripts.

With these changes, there are two support NRT configurations:  NOAH-RAPID
and NOAHMP-RAPID.  Additional configurations can be added later as
needed.
This allows the user to specify separate output methodologies for
SURFACEMODEL and ROUTING output files.  If this new option is not
specified, the routing option will fall back on the existing generic
"Output methodology:" option in lis.config.

Updated MODEL_OUTPUT_LIS.TBL files for noah39 and noahmp401 to add
HYMAP output variables.
NOTE:  make_lvt_config_*hr_noah*.py scripts are set to use RAPID.  In
the future, this could be made more flexible.
This is done in 557post runmode, and only for GRIB2 output.
emkemp added 16 commits July 28, 2026 08:47
TimeAvgOpt will write both a time averaged variable (like Qs_tavg) and an
accumulated value (like Qs_acc). This is required for merging the NRT and
NRT-STR workflows since both variants would be required from a single run.
Name change emphasizes that this supports the postprocessed (unified) NRT
GRIB2 files produced by LVT.

This version removes support for JULES, and assumes LIS is running coupled
with RAPID.  Also, the file name convention is revised to meet latest request
from LCMC and Shyft -- namely, the filename indicates the start date,
cycle hour, and "forecast hour" of the LIS output.  This makes it much
easier to discriminate between LIS runs.

The _GP. block is revised to indicate "LIS-NRT-NOAH-RAPID" or
"LIS-NRT-NOAHMP-RAPID".  The GHI MR runs will replace "NRT" in the filename,
again to make it easier to discriminate output files.

NOAHMP variable list is extended to include PotEvap_tavg.

Support for LIS HYMAP can be added in the future.

So far, only tested with 3-hrly LIS-NRT-NOAH-RAPID files.
…ion.

Logic now searches for 03 and 06 hr LIS "forecasts" from earlier LIS cycles.
Still TODO:  Handle unit conversion for qs_tavg and qsb_tavg.
For 557 WW, LIS will output both qs{b}_tavg and qs{b}_acc, but LIS will
require the same units. Our solution is to output in kg m-2, and have
LVT convert to kg/m2s.  This only happens if:

* Runmode is 557 post
* lvt.config specifies qs_tavg or qsb_tavg in kg/m2s
* The netCDF file has units of kg m-2.
This mostly unifies the NRT and NRT-STR workflows.

TODO:  Modify run_ncks.py to merge "NRT-STR" style netCDF files.
TODO:  Changes for NoahMP401.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant