Skip to content

Commit

Permalink
Allow for gdas or gfs obs (#925)
Browse files Browse the repository at this point in the history
- fixes #921
  • Loading branch information
guillaumevernieres committed Feb 16, 2024
1 parent deac283 commit f09fec9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/exglobal_prep_ocean_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

cyc = os.getenv('cyc')
PDY = os.getenv('PDY')
RUN = os.getenv('RUN')

# Set the window times
cdateDatetime = datetime.strptime(PDY + cyc, '%Y%m%d%H')
Expand Down Expand Up @@ -91,7 +92,7 @@ def run_netcdf_to_ioda(obsspace_to_convert):
obsprepSpace['input files'] = matchingFiles
obsprepSpace['window begin'] = windowBegin
obsprepSpace['window end'] = windowEnd
outputFilename = f"gdas.t{cyc}z.{obs_space_name}.{PDY}{cyc}.nc4"
outputFilename = f"{RUN}.t{cyc}z.{obs_space_name}.{PDY}{cyc}.nc4"
obsprepSpace['output file'] = outputFilename

# Skip in situ IODA conversion for now
Expand Down

0 comments on commit f09fec9

Please sign in to comment.