Skip to content

Commit

Permalink
Ocean obs prep ctest now processes ssts on 20180415 (#825)
Browse files Browse the repository at this point in the history
The ctest for JGLOBAL_PREP_OCEAN_OBS runs on cycle 2018-04-15-12 like
the rest of the g-w task ctests, and processes Metop B GHRSST using the
GHRSST IODA converter, and puts them in the appropriate ROTDIR obs
directory for later use.

Another step towards #815

@ShastriPaturi you should probably give this a closer look

---------

Co-authored-by: Guillaume Vernieres <guillaume.vernieres@noaa.gov>
  • Loading branch information
AndrewEichmann-NOAA and guillaumevernieres authored Dec 22, 2023
1 parent 69ec001 commit a34773a
Show file tree
Hide file tree
Showing 8 changed files with 26,885 additions and 15 deletions.
1 change: 1 addition & 0 deletions parm/soca/obsproc/obs_list_obsproc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ observers:
- !INC ${OBS_YAML_DIR}/sss_smap.yaml
- !INC ${OBS_YAML_DIR}/sss_smos.yaml
- !INC ${OBS_YAML_DIR}/sst_noaa19_l3u.yaml
- !INC ${OBS_YAML_DIR}/sst_metopb_l3u_so025.yaml
- !INC ${OBS_YAML_DIR}/icec_emc.yaml
- !INC ${OBS_YAML_DIR}/adt_3b_egm2008.yaml
- !INC ${OBS_YAML_DIR}/icec_amsr2_north.yaml
10 changes: 10 additions & 0 deletions parm/soca/obsproc/obsproc_config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ observations:
obsproc subdir: 'ice'
output file: icec_amsr2_north.ioda.nc
obsproc regex: icec_amsr2_north_?.nc4
- obs space:
name: sst_metopb_l3u_so025
provider: GHRSST
obsproc subdir: 'sst'
output file: sst_metopb_l3u_so025.ioda.nc
obsproc regex: '??????????????-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.nc'
bounds:
units: C
min: -3.0
max: 50.0
2 changes: 2 additions & 0 deletions scripts/exglobal_prep_ocean_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
obsprocSpace['input files'] = matchingFiles
obsprocSpace['window begin'] = windowBegin
obsprocSpace['window end'] = windowEnd
outputFilename = f"gdas.t{cyc}z.{obsSpaceName}.{PDY}{cyc}.nc4"
obsprocSpace['output file'] = outputFilename

iodaYamlFilename = obsprocSpaceName + '2ioda.yaml'
save_as_yaml(obsprocSpace, iodaYamlFilename)
Expand Down
33 changes: 19 additions & 14 deletions test/soca/gw/prepdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,23 @@ cdl2nc4() {

project_source_dir=$1

#cdl2nc4 ADT/rads_adt_3a_2021181.nc4 ${project_source_dir}/testdata/rads_adt_3a_2021181.cdl
#cdl2nc4 ADT/rads_adt_3b_2021181.nc4 ${project_source_dir}/testdata/rads_adt_3b_2021181.cdl
#cdl2nc4 icec/icec_amsr2_north_1.nc4 ${project_source_dir}/testdata/icec_amsr2_north_1.cdl
#cdl2nc4 icec/icec_amsr2_north_2.nc4 ${project_source_dir}/testdata/icec_amsr2_north_2.cdl
#cdl2nc4 icec/icec_amsr2_south_1.nc4 ${project_source_dir}/testdata/icec_amsr2_south_1.cdl
#cdl2nc4 icec/icec_amsr2_south_2.nc4 ${project_source_dir}/testdata/icec_amsr2_south_2.cdl
#cdl2nc4 SSS/sss_smap_1.nc4 ${project_source_dir}/testdata/sss_smap_1.cdl
#cdl2nc4 SSS/sss_smap_2.nc4 ${project_source_dir}/testdata/sss_smap_2.cdl
#cdl2nc4 SSS/sss_smos_1.nc4 ${project_source_dir}/testdata/sss_smos_1.cdl
#cdl2nc4 SSS/sss_smos_2.nc4 ${project_source_dir}/testdata/sss_smos_2.cdl
#cdl2nc4 sst/ghrsst_sst_mb_202107010000.nc4 ${project_source_dir}/testdata/ghrsst_sst_mb_202107010000.cdl
#cdl2nc4 sst/ghrsst_sst_mb_202107010100.nc4 ${project_source_dir}/testdata/ghrsst_sst_mb_202107010100.cdl
#cdl2nc4 sst/viirs_aod_1.nc4 ${project_source_dir}/testdata/viirs_aod_1.cdl
#cdl2nc4 sst/viirs_aod_2.nc4 ${project_source_dir}/testdata/viirs_aod_2.cdl

cdl2nc4 sst/20180415114000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.nc ${project_source_dir}/test/soca/testdata/20180415114000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.cdl
cdl2nc4 sst/20180415132000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.nc ${project_source_dir}/test/soca/testdata/20180415132000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.cdl
cdl2nc4 sst/20180415095000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.nc ${project_source_dir}/test/soca/testdata/20180415095000-STAR-L3U_GHRSST-SSTsubskin-AVHRRF_MB-ACSPO_V2.80-v02.0-fv01.0.cdl


cdl2nc4 ADT/rads_adt_3a_2021181.nc4 ${project_source_dir}/testdata/rads_adt_3a_2021181.cdl
cdl2nc4 ADT/rads_adt_3b_2021181.nc4 ${project_source_dir}/testdata/rads_adt_3b_2021181.cdl
cdl2nc4 icec/icec_amsr2_north_1.nc4 ${project_source_dir}/testdata/icec_amsr2_north_1.cdl
cdl2nc4 icec/icec_amsr2_north_2.nc4 ${project_source_dir}/testdata/icec_amsr2_north_2.cdl
cdl2nc4 icec/icec_amsr2_south_1.nc4 ${project_source_dir}/testdata/icec_amsr2_south_1.cdl
cdl2nc4 icec/icec_amsr2_south_2.nc4 ${project_source_dir}/testdata/icec_amsr2_south_2.cdl
cdl2nc4 SSS/sss_smap_1.nc4 ${project_source_dir}/testdata/sss_smap_1.cdl
cdl2nc4 SSS/sss_smap_2.nc4 ${project_source_dir}/testdata/sss_smap_2.cdl
cdl2nc4 SSS/sss_smos_1.nc4 ${project_source_dir}/testdata/sss_smos_1.cdl
cdl2nc4 SSS/sss_smos_2.nc4 ${project_source_dir}/testdata/sss_smos_2.cdl
cdl2nc4 sst/ghrsst_sst_mb_202107010000.nc4 ${project_source_dir}/testdata/ghrsst_sst_mb_202107010000.cdl
cdl2nc4 sst/ghrsst_sst_mb_202107010100.nc4 ${project_source_dir}/testdata/ghrsst_sst_mb_202107010100.cdl
cdl2nc4 sst/viirs_aod_1.nc4 ${project_source_dir}/testdata/viirs_aod_1.cdl
cdl2nc4 sst/viirs_aod_2.nc4 ${project_source_dir}/testdata/viirs_aod_2.cdl
2 changes: 1 addition & 1 deletion test/soca/gw/setup_obsproc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd ${test_dmpdir}

mkdir SSS ADT icec sst

${project_source_dir}/test/soca/gw/prepdata.sh ${project_source_dir}/utils/test/
${project_source_dir}/test/soca/gw/prepdata.sh ${project_source_dir}



Loading

0 comments on commit a34773a

Please sign in to comment.