Skip to content

Commit

Permalink
update testing
Browse files Browse the repository at this point in the history
  • Loading branch information
danholdaway committed Apr 2, 2024
1 parent ba16aa6 commit b55a142
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/jcb/configuration/apps/gdas
Submodule gdas updated 43 files
+47 −19 observation_chronicle/atmosphere/amsua_n19.yaml
+43 −0 observation_chronicle/atmosphere/atms_n20.yaml
+43 −0 observation_chronicle/atmosphere/atms_npp.yaml
+452 −0 observation_chronicle/atmosphere/cris-fsr_n20.yaml
+452 −0 observation_chronicle/atmosphere/cris-fsr_npp.yaml
+638 −0 observation_chronicle/atmosphere/iasi_metop-a.yaml
+637 −0 observation_chronicle/atmosphere/iasi_metop-b.yaml
+45 −0 observation_chronicle/atmosphere/ssmis_f17.yaml
+45 −0 observation_chronicle/atmosphere/ssmis_f18.yaml
+0 −1 observations/atmosphere-lgetkf/aircraft.yaml.j2
+37 −8 observations/atmosphere-lgetkf/amsua_n19.yaml.j2
+373 −0 observations/atmosphere-lgetkf/conv_ps.yaml.j2
+167 −0 observations/atmosphere-lgetkf/gnssro.yaml.j2
+611 −0 observations/atmosphere-lgetkf/satwind_abi_goes-16.yaml.j2
+442 −0 observations/atmosphere-lgetkf/satwind_ahi_h8.yaml.j2
+323 −0 observations/atmosphere-lgetkf/scatwind_ascat_metop-b.yaml.j2
+59 −0 observations/atmosphere-lgetkf/sondes.yaml.j2
+240 −235 observations/atmosphere/aircraft.yaml.j2
+113 −78 observations/atmosphere/amsua_n19.yaml.j2
+537 −0 observations/atmosphere/atms_n20.yaml.j2
+555 −0 observations/atmosphere/atms_npp.yaml.j2
+42 −36 observations/atmosphere/conv_ps.yaml.j2
+446 −0 observations/atmosphere/cris-fsr_n20.yaml.j2
+445 −0 observations/atmosphere/cris-fsr_npp.yaml.j2
+157 −0 observations/atmosphere/gnssro.yaml.j2
+579 −0 observations/atmosphere/iasi_metop-a.yaml.j2
+579 −0 observations/atmosphere/iasi_metop-b.yaml.j2
+175 −0 observations/atmosphere/omi_aura.yaml.j2
+330 −0 observations/atmosphere/ompsnp_npp.yaml.j2
+135 −0 observations/atmosphere/ompstc_npp.yaml.j2
+982 −0 observations/atmosphere/satwind.yaml.j2
+601 −0 observations/atmosphere/satwind_abi_goes-16.yaml.j2
+601 −0 observations/atmosphere/satwind_abi_goes-17.yaml.j2
+432 −0 observations/atmosphere/satwind_ahi_h8.yaml.j2
+439 −0 observations/atmosphere/satwind_seviri_m11.yaml.j2
+439 −0 observations/atmosphere/satwind_seviri_m8.yaml.j2
+313 −0 observations/atmosphere/scatwind_ascat_metop-a.yaml.j2
+313 −0 observations/atmosphere/scatwind_ascat_metop-b.yaml.j2
+40 −0 observations/atmosphere/sfc.yaml.j2
+100 −0 observations/atmosphere/sfcship.yaml.j2
+128 −0 observations/atmosphere/sondes.yaml.j2
+177 −0 observations/atmosphere/ssmis_f17.yaml.j2
+177 −0 observations/atmosphere/ssmis_f18.yaml.j2
14 changes: 3 additions & 11 deletions src/jcb/observation_chronicle/observation_chronicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,9 @@ def get_satellite_variable(self, observer, variable_name):
f"Could not find '{variable_name}' in the variables for observer {observer}.")
var_idx = ch_variables.index('simulated')

# Set variable to return
sat_simulated = []
sat_variable = []

# Loop over keys (channels) of the values
for channel, values in ch_values.items():

# Only compile values for channels included in the integration
if values[sim_idx]:
sat_simulated.append(channel)
sat_variable.append(values[var_idx])
# Set variables
sat_simulated = [channel for channel, values in ch_values.items() if values[sim_idx]]
sat_variable = [values[var_idx] for _, values in ch_values.items() if values[sim_idx]]

# Get the values for the required variable
if variable_name == 'simulated':
Expand Down
2 changes: 1 addition & 1 deletion test/client_integration/gdas-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ final_increment_prefix: "./anl/atminc."

# Observation things
# ------------------
observations: ['amsua_n19']
observations: all_observations

crtm_coefficient_path: "DATA/crtm/" # {{ DATA }}/crtm/

Expand Down

0 comments on commit b55a142

Please sign in to comment.