Skip to content

Commit

Permalink
Feature #2656 update_truth (#2657)
Browse files Browse the repository at this point in the history
* Per #2656, update the read_iodav2_mpr.py scripts to write 3 additional values of NA in each MPR line corresponding to the OBS_CLIMO_CDF, FCST_CLIMO_MEAN, and FCST_CLIMO_STDEV columns.

* Per #2656, update the ugrid_lfric_mpr.py to write 3 additional values of NA in each MPR line corresponding to the OBS_CLIMO_CDF, FCST_CLIMO_MEAN, and FCST_CLIMO_STDEV columns.
  • Loading branch information
JohnHalleyGotway authored Aug 22, 2024
1 parent 80b31dc commit d85cc64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
var_name+'@ObsType','na','na','lead','na','na','na','na','MPR',
'nobs','index','station_id','latitude','longitude',
'air_pressure','na',var_name+'@hofx',var_name+'@ObsValue',
var_name+'@EffectiveQC','na','na']
var_name+'@EffectiveQC','na','na','na','na','na']

ioda_df_var = ioda_df_var[cols]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def read_netcdfs(files, dim):
var_name+'@ObsType','na','na','lead','na','na','na','na','MPR',
'nobs','index','station_id@MetaData','latitude@MetaData','longitude@MetaData',
'air_pressure@MetaData','na',var_name+'@hofx',var_name+'@ObsValue',
var_name+'@PreQC','na','na']
var_name+'@PreQC','na','na','na','na','na']

ioda_df_var = ioda_df_var[cols]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def to_centers(mesh: pv.PolyData) -> pv.PolyData:
'var_name','na','na','lead','na','na','na','na','MPR',
'nobs','index','station_id','obs_lat','obs_lon',
'level','na','fcst_value','obs_value',
'QC','na','na']
'QC','na','na','na','na','na']

match_df = match_df[cols]

Expand Down

0 comments on commit d85cc64

Please sign in to comment.