ECC-83: Tests: scripts should refer to specific data files rather than wildcard pattern

This commit is contained in:
Shahram Najm 2015-03-13 17:51:03 +00:00
parent c88cd0bd8d
commit 92ec7dc284
10 changed files with 441 additions and 441 deletions

View File

@ -146,4 +146,3 @@ LIST(APPEND other_files
foreach( file ${other_files} )
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${file} ${CMAKE_CURRENT_BINARY_DIR} )
endforeach()

View File

@ -1,419 +1,28 @@
# Download all the BUFR grib data from website
# Download all the BUFR data and reference files from website
#
set(bufr_files_to_download
aaen_55.bufr
aben_55.bufr
ahws_139.bufr
airc_142.bufr
airc_144.bufr
airs_57.bufr
alws_139.bufr
amda_144.bufr
amsa_55.bufr
amsb_55.bufr
amse_55.bufr
amsu_55.bufr
amv2_87.bufr
amv3_87.bufr
asbh_139.bufr
asbl_139.bufr
asca_139.bufr
asch_139.bufr
ascs_139.bufr
aseh_139.bufr
asel_139.bufr
ashs_139.bufr
atap_55.bufr
ateu_155.bufr
atms_201.bufr
atov_55.bufr
avhm_87.bufr
avhn_87.bufr
avhr_58.bufr
b002_95.bufr
b002_96.bufr
b003_56.bufr
b004_145.bufr
b005_87.bufr
b005_89.bufr
b006_96.bufr
b007_31.bufr
bssh_170.bufr
bssh_176.bufr
bssh_178.bufr
bssh_180.bufr
btem_109.bufr
buoy_27.bufr
cmwi_87.bufr
cmwn_87.bufr
cnow_28.bufr
cori_156.bufr
crit_202.bufr
csrh_189.bufr
emsg_189.bufr
emsg_87.bufr
euwv_87.bufr
fy3a_154.bufr
fy3b_154.bufr
g2nd_208.bufr
g2to_206.bufr
go15_87.bufr
goee_87.bufr
goes_87.bufr
goga_89.bufr
gosat.bufr
grst_26.bufr
gsd1_208.bufr
gsd2_208.bufr
gsd3_208.bufr
gst4_26.bufr
hirb_55.bufr
hirs_55.bufr
ias1_240.bufr
iasi_241.bufr
ifco_208.bufr
ikco_217.bufr
itrg_208.bufr
itwt_233.bufr
j2eo_216.bufr
j2nb_216.bufr
jaso_214.bufr
kond_209.bufr
maer_207.bufr
meta_140.bufr
mhen_55.bufr
mhsa_55.bufr
mhsb_55.bufr
mhse_55.bufr
mloz_206.bufr
modi_87.bufr
modw_87.bufr
monw_87.bufr
nomi_206.bufr
nos1_208.bufr
nos2_208.bufr
nos3_208.bufr
nos4_208.bufr
nos5_208.bufr
nos6_208.bufr
nos7_208.bufr
nos8_208.bufr
ocea_131.bufr
ocea_132.bufr
ocea_133.bufr
ocea_21.bufr
pgps_110.bufr
pilo_91.bufr
rada_250.bufr
rado_250.bufr
s4kn_165.bufr
sb19_206.bufr
sbu8_206.bufr
ship_11.bufr
ship_12.bufr
ship_13.bufr
ship_14.bufr
ship_19.bufr
ship_9.bufr
smin_49.bufr
smis_49.bufr
smiu_49.bufr
smos_203.bufr
sn4k_165.bufr
soil_7.bufr
ssbt_127.bufr
stuk_7.bufr
syno_1.bufr
syno_2.bufr
syno_3.bufr
syno_4.bufr
synop_multi_subset.bufr
temp_101.bufr
temp_102.bufr
temp_106.bufr
tmr7_129.bufr
tros_31.bufr
wavb_134.bufr
)
set(bufr_refs_to_download
aaen_55.bufr.num.ref
aben_55.bufr.num.ref
ahws_139.bufr.num.ref
airc_142.bufr.num.ref
airc_144.bufr.num.ref
airs_57.bufr.num.ref
alws_139.bufr.num.ref
amda_144.bufr.num.ref
amsa_55.bufr.num.ref
amsb_55.bufr.num.ref
amse_55.bufr.num.ref
amsu_55.bufr.num.ref
amv2_87.bufr.num.ref
amv3_87.bufr.num.ref
asbh_139.bufr.num.ref
asbl_139.bufr.num.ref
asca_139.bufr.num.ref
asch_139.bufr.num.ref
ascs_139.bufr.num.ref
aseh_139.bufr.num.ref
asel_139.bufr.num.ref
ashs_139.bufr.num.ref
atap_55.bufr.num.ref
ateu_155.bufr.num.ref
atms_201.bufr.num.ref
atov_55.bufr.num.ref
avhm_87.bufr.num.ref
avhn_87.bufr.num.ref
avhr_58.bufr.num.ref
b002_95.bufr.num.ref
b002_96.bufr.num.ref
b003_56.bufr.num.ref
b004_145.bufr.num.ref
b005_87.bufr.num.ref
b005_89.bufr.num.ref
b006_96.bufr.num.ref
b007_31.bufr.num.ref
bssh_170.bufr.num.ref
bssh_176.bufr.num.ref
bssh_178.bufr.num.ref
bssh_180.bufr.num.ref
btem_109.bufr.num.ref
buoy_27.bufr.num.ref
cmwi_87.bufr.num.ref
cmwn_87.bufr.num.ref
cnow_28.bufr.num.ref
cori_156.bufr.num.ref
crit_202.bufr.num.ref
csrh_189.bufr.num.ref
emsg_189.bufr.num.ref
emsg_87.bufr.num.ref
euwv_87.bufr.num.ref
fy3a_154.bufr.num.ref
fy3b_154.bufr.num.ref
g2nd_208.bufr.num.ref
g2to_206.bufr.num.ref
go15_87.bufr.num.ref
goee_87.bufr.num.ref
goes_87.bufr.num.ref
goga_89.bufr.num.ref
gosat.bufr.num.ref
grst_26.bufr.num.ref
gsd1_208.bufr.num.ref
gsd2_208.bufr.num.ref
gsd3_208.bufr.num.ref
gst4_26.bufr.num.ref
hirb_55.bufr.num.ref
hirs_55.bufr.num.ref
ias1_240.bufr.num.ref
iasi_241.bufr.num.ref
ifco_208.bufr.num.ref
ikco_217.bufr.num.ref
itrg_208.bufr.num.ref
itwt_233.bufr.num.ref
j2eo_216.bufr.num.ref
j2nb_216.bufr.num.ref
jaso_214.bufr.num.ref
kond_209.bufr.num.ref
maer_207.bufr.num.ref
meta_140.bufr.num.ref
mhen_55.bufr.num.ref
mhsa_55.bufr.num.ref
mhsb_55.bufr.num.ref
mhse_55.bufr.num.ref
mloz_206.bufr.num.ref
modi_87.bufr.num.ref
modw_87.bufr.num.ref
monw_87.bufr.num.ref
nomi_206.bufr.num.ref
nos1_208.bufr.num.ref
nos2_208.bufr.num.ref
nos3_208.bufr.num.ref
nos4_208.bufr.num.ref
nos5_208.bufr.num.ref
nos6_208.bufr.num.ref
nos7_208.bufr.num.ref
nos8_208.bufr.num.ref
ocea_131.bufr.num.ref
ocea_132.bufr.num.ref
ocea_133.bufr.num.ref
ocea_21.bufr.num.ref
pgps_110.bufr.num.ref
pilo_91.bufr.num.ref
rada_250.bufr.num.ref
rado_250.bufr.num.ref
s4kn_165.bufr.num.ref
sb19_206.bufr.num.ref
sbu8_206.bufr.num.ref
ship_11.bufr.num.ref
ship_12.bufr.num.ref
ship_13.bufr.num.ref
ship_14.bufr.num.ref
ship_19.bufr.num.ref
ship_9.bufr.num.ref
smin_49.bufr.num.ref
smis_49.bufr.num.ref
smiu_49.bufr.num.ref
smos_203.bufr.num.ref
sn4k_165.bufr.num.ref
soil_7.bufr.num.ref
ssbt_127.bufr.num.ref
stuk_7.bufr.num.ref
syno_1.bufr.num.ref
syno_2.bufr.num.ref
syno_3.bufr.num.ref
syno_4.bufr.num.ref
temp_101.bufr.num.ref
temp_102.bufr.num.ref
temp_106.bufr.num.ref
tmr7_129.bufr.num.ref
tros_31.bufr.num.ref
wavb_134.bufr.num.ref
syno_multi.bufr.num.ref
synop_multi_subset.bufr.num.ref
aaen_55.bufr.desc.ref
aben_55.bufr.desc.ref
ahws_139.bufr.desc.ref
airc_142.bufr.desc.ref
airc_144.bufr.desc.ref
airs_57.bufr.desc.ref
alws_139.bufr.desc.ref
amda_144.bufr.desc.ref
amsa_55.bufr.desc.ref
amsb_55.bufr.desc.ref
amse_55.bufr.desc.ref
amsu_55.bufr.desc.ref
amv2_87.bufr.desc.ref
amv3_87.bufr.desc.ref
asbh_139.bufr.desc.ref
asbl_139.bufr.desc.ref
asca_139.bufr.desc.ref
asch_139.bufr.desc.ref
ascs_139.bufr.desc.ref
aseh_139.bufr.desc.ref
asel_139.bufr.desc.ref
ashs_139.bufr.desc.ref
atap_55.bufr.desc.ref
ateu_155.bufr.desc.ref
atms_201.bufr.desc.ref
atov_55.bufr.desc.ref
avhm_87.bufr.desc.ref
avhn_87.bufr.desc.ref
avhr_58.bufr.desc.ref
b002_95.bufr.desc.ref
b002_96.bufr.desc.ref
b003_56.bufr.desc.ref
b004_145.bufr.desc.ref
b005_87.bufr.desc.ref
b005_89.bufr.desc.ref
b006_96.bufr.desc.ref
b007_31.bufr.desc.ref
bssh_170.bufr.desc.ref
bssh_176.bufr.desc.ref
bssh_178.bufr.desc.ref
bssh_180.bufr.desc.ref
btem_109.bufr.desc.ref
buoy_27.bufr.desc.ref
cmwi_87.bufr.desc.ref
cmwn_87.bufr.desc.ref
cnow_28.bufr.desc.ref
cori_156.bufr.desc.ref
crit_202.bufr.desc.ref
csrh_189.bufr.desc.ref
emsg_189.bufr.desc.ref
emsg_87.bufr.desc.ref
euwv_87.bufr.desc.ref
fy3a_154.bufr.desc.ref
fy3b_154.bufr.desc.ref
g2nd_208.bufr.desc.ref
g2to_206.bufr.desc.ref
go15_87.bufr.desc.ref
goee_87.bufr.desc.ref
goes_87.bufr.desc.ref
goga_89.bufr.desc.ref
gosat.bufr.desc.ref
grst_26.bufr.desc.ref
gsd1_208.bufr.desc.ref
gsd2_208.bufr.desc.ref
gsd3_208.bufr.desc.ref
gst4_26.bufr.desc.ref
hirb_55.bufr.desc.ref
hirs_55.bufr.desc.ref
ias1_240.bufr.desc.ref
iasi_241.bufr.desc.ref
ifco_208.bufr.desc.ref
ikco_217.bufr.desc.ref
itrg_208.bufr.desc.ref
itwt_233.bufr.desc.ref
j2eo_216.bufr.desc.ref
j2nb_216.bufr.desc.ref
jaso_214.bufr.desc.ref
kond_209.bufr.desc.ref
maer_207.bufr.desc.ref
meta_140.bufr.desc.ref
mhen_55.bufr.desc.ref
mhsa_55.bufr.desc.ref
mhsb_55.bufr.desc.ref
mhse_55.bufr.desc.ref
mloz_206.bufr.desc.ref
modi_87.bufr.desc.ref
modw_87.bufr.desc.ref
monw_87.bufr.desc.ref
nomi_206.bufr.desc.ref
nos1_208.bufr.desc.ref
nos2_208.bufr.desc.ref
nos3_208.bufr.desc.ref
nos4_208.bufr.desc.ref
nos5_208.bufr.desc.ref
nos6_208.bufr.desc.ref
nos7_208.bufr.desc.ref
nos8_208.bufr.desc.ref
ocea_131.bufr.desc.ref
ocea_132.bufr.desc.ref
ocea_133.bufr.desc.ref
ocea_21.bufr.desc.ref
pgps_110.bufr.desc.ref
pilo_91.bufr.desc.ref
rada_250.bufr.desc.ref
rado_250.bufr.desc.ref
s4kn_165.bufr.desc.ref
sb19_206.bufr.desc.ref
sbu8_206.bufr.desc.ref
ship_11.bufr.desc.ref
ship_12.bufr.desc.ref
ship_13.bufr.desc.ref
ship_14.bufr.desc.ref
ship_19.bufr.desc.ref
ship_9.bufr.desc.ref
smin_49.bufr.desc.ref
smis_49.bufr.desc.ref
smiu_49.bufr.desc.ref
smos_203.bufr.desc.ref
sn4k_165.bufr.desc.ref
soil_7.bufr.desc.ref
ssbt_127.bufr.desc.ref
stuk_7.bufr.desc.ref
syno_1.bufr.desc.ref
syno_2.bufr.desc.ref
syno_3.bufr.desc.ref
syno_4.bufr.desc.ref
temp_101.bufr.desc.ref
temp_102.bufr.desc.ref
temp_106.bufr.desc.ref
tmr7_129.bufr.desc.ref
tros_31.bufr.desc.ref
wavb_134.bufr.desc.ref
syno_multi.bufr.desc.ref
synop_multi_subset.bufr.desc.ref
FILE(READ "bufr_data_files.txt" bufr_files_to_download)
# Convert file contents into a CMake list (where each element in the list
# is one line of the file)
STRING(REGEX REPLACE "\n" ";" bufr_files_to_download "${bufr_files_to_download}")
FILE(READ "bufr_ref_files.txt" bufr_refs_to_download)
STRING(REGEX REPLACE "\n" ";" bufr_refs_to_download "${bufr_refs_to_download}")
aaen_55.bufr.ls.ref
syno_multi.bufr.header.ref
syno_multi.bufr
)
ecbuild_get_test_multidata(
TARGET get_bufrs
NOCHECK
NAMES ${bufr_files_to_download} ${bufr_refs_to_download}
)
# Copy other files - e.g. text files etc from the source data/bufr dir
LIST(APPEND other_files
bufr_data_files.txt
bufr_ref_files.txt
)
foreach( file ${other_files} )
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${file} ${CMAKE_CURRENT_BINARY_DIR} )
endforeach()

View File

@ -0,0 +1,133 @@
aaen_55.bufr
aben_55.bufr
ahws_139.bufr
airc_142.bufr
airc_144.bufr
airs_57.bufr
alws_139.bufr
amda_144.bufr
amsa_55.bufr
amsb_55.bufr
amse_55.bufr
amsu_55.bufr
amv2_87.bufr
amv3_87.bufr
asbh_139.bufr
asbl_139.bufr
asca_139.bufr
asch_139.bufr
ascs_139.bufr
aseh_139.bufr
asel_139.bufr
ashs_139.bufr
atap_55.bufr
ateu_155.bufr
atms_201.bufr
atov_55.bufr
avhm_87.bufr
avhn_87.bufr
avhr_58.bufr
b002_95.bufr
b002_96.bufr
b003_56.bufr
b004_145.bufr
b005_87.bufr
b005_89.bufr
b006_96.bufr
b007_31.bufr
bssh_170.bufr
bssh_176.bufr
bssh_178.bufr
bssh_180.bufr
btem_109.bufr
buoy_27.bufr
cmwi_87.bufr
cmwn_87.bufr
cnow_28.bufr
cori_156.bufr
crit_202.bufr
csrh_189.bufr
emsg_189.bufr
emsg_87.bufr
euwv_87.bufr
fy3a_154.bufr
fy3b_154.bufr
g2nd_208.bufr
g2to_206.bufr
go15_87.bufr
goee_87.bufr
goes_87.bufr
goga_89.bufr
gosat.bufr
grst_26.bufr
gsd1_208.bufr
gsd2_208.bufr
gsd3_208.bufr
gst4_26.bufr
hirb_55.bufr
hirs_55.bufr
ias1_240.bufr
iasi_241.bufr
ifco_208.bufr
ikco_217.bufr
itrg_208.bufr
itwt_233.bufr
j2eo_216.bufr
j2nb_216.bufr
jaso_214.bufr
kond_209.bufr
maer_207.bufr
meta_140.bufr
mhen_55.bufr
mhsa_55.bufr
mhsb_55.bufr
mhse_55.bufr
mloz_206.bufr
modi_87.bufr
modw_87.bufr
monw_87.bufr
nomi_206.bufr
nos1_208.bufr
nos2_208.bufr
nos3_208.bufr
nos4_208.bufr
nos5_208.bufr
nos6_208.bufr
nos7_208.bufr
nos8_208.bufr
ocea_131.bufr
ocea_132.bufr
ocea_133.bufr
ocea_21.bufr
pgps_110.bufr
pilo_91.bufr
rada_250.bufr
rado_250.bufr
s4kn_165.bufr
sb19_206.bufr
sbu8_206.bufr
ship_11.bufr
ship_12.bufr
ship_13.bufr
ship_14.bufr
ship_19.bufr
ship_9.bufr
smin_49.bufr
smis_49.bufr
smiu_49.bufr
smos_203.bufr
sn4k_165.bufr
soil_7.bufr
ssbt_127.bufr
stuk_7.bufr
syno_1.bufr
syno_2.bufr
syno_3.bufr
syno_4.bufr
synop_multi_subset.bufr
temp_101.bufr
temp_102.bufr
temp_106.bufr
tmr7_129.bufr
tros_31.bufr
wavb_134.bufr

View File

@ -0,0 +1,271 @@
aaen_55.bufr.num.ref
aben_55.bufr.num.ref
ahws_139.bufr.num.ref
airc_142.bufr.num.ref
airc_144.bufr.num.ref
airs_57.bufr.num.ref
alws_139.bufr.num.ref
amda_144.bufr.num.ref
amsa_55.bufr.num.ref
amsb_55.bufr.num.ref
amse_55.bufr.num.ref
amsu_55.bufr.num.ref
amv2_87.bufr.num.ref
amv3_87.bufr.num.ref
asbh_139.bufr.num.ref
asbl_139.bufr.num.ref
asca_139.bufr.num.ref
asch_139.bufr.num.ref
ascs_139.bufr.num.ref
aseh_139.bufr.num.ref
asel_139.bufr.num.ref
ashs_139.bufr.num.ref
atap_55.bufr.num.ref
ateu_155.bufr.num.ref
atms_201.bufr.num.ref
atov_55.bufr.num.ref
avhm_87.bufr.num.ref
avhn_87.bufr.num.ref
avhr_58.bufr.num.ref
b002_95.bufr.num.ref
b002_96.bufr.num.ref
b003_56.bufr.num.ref
b004_145.bufr.num.ref
b005_87.bufr.num.ref
b005_89.bufr.num.ref
b006_96.bufr.num.ref
b007_31.bufr.num.ref
bssh_170.bufr.num.ref
bssh_176.bufr.num.ref
bssh_178.bufr.num.ref
bssh_180.bufr.num.ref
btem_109.bufr.num.ref
buoy_27.bufr.num.ref
cmwi_87.bufr.num.ref
cmwn_87.bufr.num.ref
cnow_28.bufr.num.ref
cori_156.bufr.num.ref
crit_202.bufr.num.ref
csrh_189.bufr.num.ref
emsg_189.bufr.num.ref
emsg_87.bufr.num.ref
euwv_87.bufr.num.ref
fy3a_154.bufr.num.ref
fy3b_154.bufr.num.ref
g2nd_208.bufr.num.ref
g2to_206.bufr.num.ref
go15_87.bufr.num.ref
goee_87.bufr.num.ref
goes_87.bufr.num.ref
goga_89.bufr.num.ref
gosat.bufr.num.ref
grst_26.bufr.num.ref
gsd1_208.bufr.num.ref
gsd2_208.bufr.num.ref
gsd3_208.bufr.num.ref
gst4_26.bufr.num.ref
hirb_55.bufr.num.ref
hirs_55.bufr.num.ref
ias1_240.bufr.num.ref
iasi_241.bufr.num.ref
ifco_208.bufr.num.ref
ikco_217.bufr.num.ref
itrg_208.bufr.num.ref
itwt_233.bufr.num.ref
j2eo_216.bufr.num.ref
j2nb_216.bufr.num.ref
jaso_214.bufr.num.ref
kond_209.bufr.num.ref
maer_207.bufr.num.ref
meta_140.bufr.num.ref
mhen_55.bufr.num.ref
mhsa_55.bufr.num.ref
mhsb_55.bufr.num.ref
mhse_55.bufr.num.ref
mloz_206.bufr.num.ref
modi_87.bufr.num.ref
modw_87.bufr.num.ref
monw_87.bufr.num.ref
nomi_206.bufr.num.ref
nos1_208.bufr.num.ref
nos2_208.bufr.num.ref
nos3_208.bufr.num.ref
nos4_208.bufr.num.ref
nos5_208.bufr.num.ref
nos6_208.bufr.num.ref
nos7_208.bufr.num.ref
nos8_208.bufr.num.ref
ocea_131.bufr.num.ref
ocea_132.bufr.num.ref
ocea_133.bufr.num.ref
ocea_21.bufr.num.ref
pgps_110.bufr.num.ref
pilo_91.bufr.num.ref
rada_250.bufr.num.ref
rado_250.bufr.num.ref
s4kn_165.bufr.num.ref
sb19_206.bufr.num.ref
sbu8_206.bufr.num.ref
ship_11.bufr.num.ref
ship_12.bufr.num.ref
ship_13.bufr.num.ref
ship_14.bufr.num.ref
ship_19.bufr.num.ref
ship_9.bufr.num.ref
smin_49.bufr.num.ref
smis_49.bufr.num.ref
smiu_49.bufr.num.ref
smos_203.bufr.num.ref
sn4k_165.bufr.num.ref
soil_7.bufr.num.ref
ssbt_127.bufr.num.ref
stuk_7.bufr.num.ref
syno_1.bufr.num.ref
syno_2.bufr.num.ref
syno_3.bufr.num.ref
syno_4.bufr.num.ref
temp_101.bufr.num.ref
temp_102.bufr.num.ref
temp_106.bufr.num.ref
tmr7_129.bufr.num.ref
tros_31.bufr.num.ref
wavb_134.bufr.num.ref
syno_multi.bufr.num.ref
synop_multi_subset.bufr.num.ref
aaen_55.bufr.desc.ref
aben_55.bufr.desc.ref
ahws_139.bufr.desc.ref
airc_142.bufr.desc.ref
airc_144.bufr.desc.ref
airs_57.bufr.desc.ref
alws_139.bufr.desc.ref
amda_144.bufr.desc.ref
amsa_55.bufr.desc.ref
amsb_55.bufr.desc.ref
amse_55.bufr.desc.ref
amsu_55.bufr.desc.ref
amv2_87.bufr.desc.ref
amv3_87.bufr.desc.ref
asbh_139.bufr.desc.ref
asbl_139.bufr.desc.ref
asca_139.bufr.desc.ref
asch_139.bufr.desc.ref
ascs_139.bufr.desc.ref
aseh_139.bufr.desc.ref
asel_139.bufr.desc.ref
ashs_139.bufr.desc.ref
atap_55.bufr.desc.ref
ateu_155.bufr.desc.ref
atms_201.bufr.desc.ref
atov_55.bufr.desc.ref
avhm_87.bufr.desc.ref
avhn_87.bufr.desc.ref
avhr_58.bufr.desc.ref
b002_95.bufr.desc.ref
b002_96.bufr.desc.ref
b003_56.bufr.desc.ref
b004_145.bufr.desc.ref
b005_87.bufr.desc.ref
b005_89.bufr.desc.ref
b006_96.bufr.desc.ref
b007_31.bufr.desc.ref
bssh_170.bufr.desc.ref
bssh_176.bufr.desc.ref
bssh_178.bufr.desc.ref
bssh_180.bufr.desc.ref
btem_109.bufr.desc.ref
buoy_27.bufr.desc.ref
cmwi_87.bufr.desc.ref
cmwn_87.bufr.desc.ref
cnow_28.bufr.desc.ref
cori_156.bufr.desc.ref
crit_202.bufr.desc.ref
csrh_189.bufr.desc.ref
emsg_189.bufr.desc.ref
emsg_87.bufr.desc.ref
euwv_87.bufr.desc.ref
fy3a_154.bufr.desc.ref
fy3b_154.bufr.desc.ref
g2nd_208.bufr.desc.ref
g2to_206.bufr.desc.ref
go15_87.bufr.desc.ref
goee_87.bufr.desc.ref
goes_87.bufr.desc.ref
goga_89.bufr.desc.ref
gosat.bufr.desc.ref
grst_26.bufr.desc.ref
gsd1_208.bufr.desc.ref
gsd2_208.bufr.desc.ref
gsd3_208.bufr.desc.ref
gst4_26.bufr.desc.ref
hirb_55.bufr.desc.ref
hirs_55.bufr.desc.ref
ias1_240.bufr.desc.ref
iasi_241.bufr.desc.ref
ifco_208.bufr.desc.ref
ikco_217.bufr.desc.ref
itrg_208.bufr.desc.ref
itwt_233.bufr.desc.ref
j2eo_216.bufr.desc.ref
j2nb_216.bufr.desc.ref
jaso_214.bufr.desc.ref
kond_209.bufr.desc.ref
maer_207.bufr.desc.ref
meta_140.bufr.desc.ref
mhen_55.bufr.desc.ref
mhsa_55.bufr.desc.ref
mhsb_55.bufr.desc.ref
mhse_55.bufr.desc.ref
mloz_206.bufr.desc.ref
modi_87.bufr.desc.ref
modw_87.bufr.desc.ref
monw_87.bufr.desc.ref
nomi_206.bufr.desc.ref
nos1_208.bufr.desc.ref
nos2_208.bufr.desc.ref
nos3_208.bufr.desc.ref
nos4_208.bufr.desc.ref
nos5_208.bufr.desc.ref
nos6_208.bufr.desc.ref
nos7_208.bufr.desc.ref
nos8_208.bufr.desc.ref
ocea_131.bufr.desc.ref
ocea_132.bufr.desc.ref
ocea_133.bufr.desc.ref
ocea_21.bufr.desc.ref
pgps_110.bufr.desc.ref
pilo_91.bufr.desc.ref
rada_250.bufr.desc.ref
rado_250.bufr.desc.ref
s4kn_165.bufr.desc.ref
sb19_206.bufr.desc.ref
sbu8_206.bufr.desc.ref
ship_11.bufr.desc.ref
ship_12.bufr.desc.ref
ship_13.bufr.desc.ref
ship_14.bufr.desc.ref
ship_19.bufr.desc.ref
ship_9.bufr.desc.ref
smin_49.bufr.desc.ref
smis_49.bufr.desc.ref
smiu_49.bufr.desc.ref
smos_203.bufr.desc.ref
sn4k_165.bufr.desc.ref
soil_7.bufr.desc.ref
ssbt_127.bufr.desc.ref
stuk_7.bufr.desc.ref
syno_1.bufr.desc.ref
syno_2.bufr.desc.ref
syno_3.bufr.desc.ref
syno_4.bufr.desc.ref
temp_101.bufr.desc.ref
temp_102.bufr.desc.ref
temp_106.bufr.desc.ref
tmr7_129.bufr.desc.ref
tros_31.bufr.desc.ref
wavb_134.bufr.desc.ref
syno_multi.bufr.desc.ref
synop_multi_subset.bufr.desc.ref
aaen_55.bufr.ls.ref
syno_multi.bufr.header.ref
syno_multi.bufr

View File

@ -8,15 +8,12 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
set -e
. ./include.sh
bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt`
REDIRECT=/dev/null
for file in ${data_dir}/bufr/*.bufr
for file in ${bufr_files}
do
${tools_dir}bufr_dump -O $file 2> $REDIRECT > $REDIRECT
${tools_dir}bufr_dump -O ${data_dir}/bufr/$file 2> $REDIRECT > $REDIRECT
done

View File

@ -10,9 +10,6 @@
. ./include.sh
#set -x
#Enter data dir
cd ${data_dir}/bufr
#Define a common label for all the tmp files
@ -37,14 +34,14 @@ fRules=${label}.filter
# Filter out only header information that all
# the bufr files must have. We just check if it works.
#-----------------------------------------------------------
echo "Test: dump header" >> $fLog
cat > $fRules <<EOF
print "[centre] [subCentre] [masterTablesVersionNumber] [localTablesVersionNumber] [numberOfSubsets]";
EOF
for f in `ls *.bufr` ; do
bufr_files=`cat bufr_data_files.txt`
for f in ${bufr_files} ; do
echo "file: $f" >> $fLog
${tools_dir}/bufr_filter $fRules $f >> $fLog
done
@ -52,7 +49,6 @@ done
#-----------------------------------------------------------
# Test: dump SYNOP values
#-----------------------------------------------------------
cat > $fRules <<EOF
set unpack=1;
transient statid=1000*blockNumber+stationNumber;
@ -806,11 +802,7 @@ EOF
#[ `${tools_dir}/bufr_filter $fRules $fBufrTmp` = "20010511 2001 234.5" ]
#Clean up
rm -f ${dSplit}/*
rm -f $fLog $fRules
rm -f $fBufrTmp | true

View File

@ -8,8 +8,6 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
set -e
. ./include.sh
REDIRECT=/dev/null
@ -21,7 +19,10 @@ if command -v $JSON_VERIF >/dev/null 2>&1; then
JSON_CHECK=$JSON_VERIF
fi
for file in ${data_dir}/bufr/*.bufr
cd ${data_dir}/bufr
bufr_files=`cat bufr_data_files.txt`
for file in ${bufr_files}
do
rm -f ${file}.json | true
@ -41,4 +42,3 @@ do
rm -f ${file}.json
done

View File

@ -10,8 +10,6 @@
. ./include.sh
#set -x
#Enter data dir
cd ${data_dir}/bufr
@ -30,7 +28,8 @@ rm -f $fTmp
#----------------------------------------------
# Test default "ls" on all the bufr data files
#----------------------------------------------
for f in `ls *.bufr` ; do
bufr_files=`cat bufr_data_files.txt`
for f in ${bufr_files} ; do
echo $f >> $fLog
${tools_dir}/bufr_ls $f >> $fLog
done
@ -50,4 +49,4 @@ awk NR==3 $fTmp | awk '{split($0,a," "); for (i=1; i<=8; i++) print a[i]}' > $re
diff $ref_ls $res_ls >$REDIRECT 2> $REDIRECT
rm -f $fLog $res_ls
rm -f $fTmp | more
rm -f $fTmp

View File

@ -8,7 +8,6 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
set -e
. ./include.sh
REDIRECT=/dev/null
@ -17,8 +16,10 @@ cat > bufrdc_desc_ref.filter<<EOF
print "[bufrdcExpandedDescriptors!1''%06d]";
EOF
for file in ${data_dir}/bufr/*.bufr
bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt`
for bf in ${bufr_files}
do
file=${data_dir}/bufr/$bf
REDIRECT=/dev/null
# Test descriptors: compare output of filter (res) with reference file (ref)

View File

@ -8,8 +8,6 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
set -e
. ./include.sh
REDIRECT=/dev/null
@ -19,8 +17,10 @@ set subsetNumber=0;
print "[numericValues!1%23.14e]";
EOF
for file in ${data_dir}/bufr/*.bufr
bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt`
for bf in ${bufr_files}
do
file=${data_dir}/bufr/$bf
# Test numeric data: compare output of filter (res) with reference file (ref)
res_num=$file.num.test
ref_num=$file.num.ref
@ -34,7 +34,6 @@ do
perl number_compare.pl $ref_num $res_num >$REDIRECT 2> $REDIRECT
#numdiff $ref_num $res_num >$REDIRECT 2> $REDIRECT
done
rm -f bufrdc_num_ref.filter