diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 2c0ec4d33..2dba08de5 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -24,16 +24,16 @@ jobs: cd solo && pip install . && cd .. cd r2d2 && pip install . && cd .. - - name: Checkout workflow + - name: Checkout wxflow uses: actions/checkout@v3 with: - repository: NOAA-EMC/global-workflow + repository: NOAA-EMC/wxflow ref: develop - path: global-workflow + path: wxflow - - name: Install workflow utils + - name: Install wxflow run: | - cd global-workflow/ush/python/pygw + cd wxflow pip install . - name: Checkout diff --git a/.github/workflows/unittests_g-w.yaml b/.github/workflows/unittests_g-w.yaml index ef65844ad..b187a0de9 100644 --- a/.github/workflows/unittests_g-w.yaml +++ b/.github/workflows/unittests_g-w.yaml @@ -25,18 +25,25 @@ jobs: cd r2d2 && pip install . && cd .. sudo mkdir -p /work/noaa # to trick workflow into thinking this is RDHPCS Orion - - name: Checkout workflow + - name: Checkout wxflow uses: actions/checkout@v3 with: - repository: NOAA-EMC/global-workflow + repository: NOAA-EMC/wxflow ref: develop - path: global-workflow + path: wxflow - - name: Install workflow utils + - name: Install wxflow run: | - cd global-workflow/ush/python/pygw + cd wxflow pip install . + - name: Checkout workflow + uses: actions/checkout@v3 + with: + repository: NOAA-EMC/global-workflow + ref: develop + path: global-workflow + - name: Checkout GDASApp uses: actions/checkout@v3 with: diff --git a/parm/land/letkfoi/apply_incr_nml.j2 b/parm/land/letkfoi/apply_incr_nml.j2 index 2dac08157..39765a5d3 100644 --- a/parm/land/letkfoi/apply_incr_nml.j2 +++ b/parm/land/letkfoi/apply_incr_nml.j2 @@ -2,7 +2,7 @@ date_str = "{{ current_cycle | to_YMD }}", hour_str = "{{ current_cycle | strftime('%H') }}", res = {{ CASE[1:] }}, - frac_grid = {{ FRAC_GRID | to_f90bool }}, + frac_grid = .true., rst_path = "{{ DATA }}/anl", inc_path = "{{ DATA }}/anl", orog_path = "{{ HOMEgfs }}/fix/orog/{{ CASE }}", diff --git a/parm/land/letkfoi/letkfoi.yaml b/parm/land/letkfoi/letkfoi.yaml index 0dc764978..11db7a94d 100644 --- a/parm/land/letkfoi/letkfoi.yaml +++ b/parm/land/letkfoi/letkfoi.yaml @@ -28,7 +28,7 @@ background: template: datetime: '{{ current_cycle | to_isotime }}' filetype: fms restart - state variables: [snwdph,vtype,slmsk] + state variables: [snodl,vtype,slmsk] datapath: $(DATA)/bkg/mem%mem%/RESTART filename_sfcd: '{{ current_cycle | to_fv3time }}.sfc_data.nc' filename_cplr: '{{ current_cycle | to_fv3time }}.coupler.res' @@ -56,5 +56,5 @@ output increment: filetype: fms restart filename_sfcd: '{{ current_cycle | to_fv3time }}.sfc_data.nc' filename_cplr: '{{ current_cycle | to_fv3time }}.coupler.res' - state variables: [snwdph,vtype,slmsk] + state variables: [snodl,vtype,slmsk] diff --git a/parm/land/obs/config/adpsfc_snow.yaml b/parm/land/obs/config/adpsfc_snow.yaml index a7c69752e..a7c08eb74 100644 --- a/parm/land/obs/config/adpsfc_snow.yaml +++ b/parm/land/obs/config/adpsfc_snow.yaml @@ -86,6 +86,12 @@ obs filters: damping_factor_1: 1.0 damping_factor_2: 1.0 background_error_group: BkgError + - filter: Perform Action + filter variables: + - name: totalSnowDepth + action: + name: assign error + error parameter: 40.0 - filter: Variable Assignment assignments: - name: GrossErrorProbability/totalSnowDepth diff --git a/scripts/exgdas_global_marine_analysis_post.py b/scripts/exgdas_global_marine_analysis_post.py index 8e375d9b2..c1a0b4e11 100755 --- a/scripts/exgdas_global_marine_analysis_post.py +++ b/scripts/exgdas_global_marine_analysis_post.py @@ -23,7 +23,7 @@ import shutil import logging from datetime import datetime, timedelta -from pygw.file_utils import FileHandler +from wxflow import FileHandler # TODO: Move this somewhere else? diff --git a/scripts/exgdas_global_marine_analysis_prep.py b/scripts/exgdas_global_marine_analysis_prep.py index 33a54db72..21af4bcc7 100755 --- a/scripts/exgdas_global_marine_analysis_prep.py +++ b/scripts/exgdas_global_marine_analysis_prep.py @@ -32,10 +32,7 @@ from netCDF4 import Dataset import xarray as xr import numpy as np -from pygw.attrdict import AttrDict -from pygw.template import Template, TemplateConstants -from pygw.yaml_file import YAMLFile -from pygw.file_utils import FileHandler +from wxflow import (AttrDict, Template, TemplateConstants, YAMLFile, FileHandler) # set up logger logging.basicConfig(format='%(asctime)s:%(levelname)s:%(message)s', level=logging.INFO, datefmt='%Y-%m-%d %H:%M:%S') diff --git a/test/aero/genyaml_3dvar.sh b/test/aero/genyaml_3dvar.sh index f522ba6f6..74ae035a1 100755 --- a/test/aero/genyaml_3dvar.sh +++ b/test/aero/genyaml_3dvar.sh @@ -1,6 +1,6 @@ #!/bin/bash # generate YAML from a template -# using pygw YAML tools +# using wxflow YAML tools bindir=$1 srcdir=$2 @@ -27,9 +27,7 @@ mkdir -p $DATA # run some python code to generate the YAML python3 - <