Skip to content

Commit

Permalink
Address reviewer's comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaruidong2017 committed Nov 14, 2024
1 parent 4376049 commit 244693c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parm/snow/obs/config/sfcsno_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
obsdatain:
engine:
type: script
script file: "{{ PARMgfs }}/gdas/snow/ioda_bufr_python_encoder.py"
script file: "{{ USHgfs }}/bufr2ioda_sfcsno_bufr_encoder.py"
args:
input_path: '{{ DATA }}/obs/{{ OPREFIX }}sfcsno.tm00.bufr_d'
obsfile: '{{ DATA }}/obs/{{ OPREFIX }}sfcsno.tm00.bufr_d'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def create_obs_group(input_path):

masked_container = mask_container(container, (~snod.mask))

encoder = Encoder(YAML_PATH)
data = next(iter(encoder.encode(masked_container).values()))
data = next(iter(Encoder(YAML_PATH).encode(masked_container).values()))

return data

0 comments on commit 244693c

Please sign in to comment.