diff --git a/data/bufr/bufr_ref_files.txt b/data/bufr/bufr_ref_files.txt index e22c42467..21fba651d 100644 --- a/data/bufr/bufr_ref_files.txt +++ b/data/bufr/bufr_ref_files.txt @@ -270,4 +270,112 @@ aaen_55.bufr.ls.ref syno_multi.bufr.header.ref syno_multi.bufr bad.bufr.json.ref -207003.bufr.json.ref \ No newline at end of file +207003.bufr.json.ref +new_207003.bufr.ref +new_aaen_55.bufr.ref +new_aben_55.bufr.ref +new_ahws_139.bufr.ref +new_airc_142.bufr.ref +new_airc_144.bufr.ref +new_airs_57.bufr.ref +new_alws_139.bufr.ref +new_amda_144.bufr.ref +new_amsa_55.bufr.ref +new_amsb_55.bufr.ref +new_amse_55.bufr.ref +new_amsu_55.bufr.ref +new_amv2_87.bufr.ref +new_amv3_87.bufr.ref +new_asbh_139.bufr.ref +new_asbl_139.bufr.ref +new_asca_139.bufr.ref +new_asch_139.bufr.ref +new_ascs_139.bufr.ref +new_aseh_139.bufr.ref +new_asel_139.bufr.ref +new_ashs_139.bufr.ref +new_atap_55.bufr.ref +new_ateu_155.bufr.ref +new_atms_201.bufr.ref +new_atov_55.bufr.ref +new_avhm_87.bufr.ref +new_avhn_87.bufr.ref +new_avhr_58.bufr.ref +new_b002_95.bufr.ref +new_b002_96.bufr.ref +new_b003_56.bufr.ref +new_b004_145.bufr.ref +new_b005_87.bufr.ref +new_b006_96.bufr.ref +new_b007_31.bufr.ref +new_bssh_170.bufr.ref +new_bssh_176.bufr.ref +new_bssh_178.bufr.ref +new_bssh_180.bufr.ref +new_btem_109.bufr.ref +new_buoy_27.bufr.ref +new_cmwi_87.bufr.ref +new_cmwn_87.bufr.ref +new_cnow_28.bufr.ref +new_cori_156.bufr.ref +new_crit_202.bufr.ref +new_emsg_87.bufr.ref +new_euwv_87.bufr.ref +new_fy3a_154.bufr.ref +new_fy3b_154.bufr.ref +new_go15_87.bufr.ref +new_goee_87.bufr.ref +new_goes_87.bufr.ref +new_grst_26.bufr.ref +new_gst4_26.bufr.ref +new_hirb_55.bufr.ref +new_hirs_55.bufr.ref +new_ias1_240.bufr.ref +new_iasi_241.bufr.ref +new_itwt_233.bufr.ref +new_j2eo_216.bufr.ref +new_j2nb_216.bufr.ref +new_jaso_214.bufr.ref +new_meta_140.bufr.ref +new_mhen_55.bufr.ref +new_mhsa_55.bufr.ref +new_mhsb_55.bufr.ref +new_mhse_55.bufr.ref +new_modi_87.bufr.ref +new_modw_87.bufr.ref +new_monw_87.bufr.ref +new_mytemp.bufr.ref +new_new.bufr.ref +new_ocea_131.bufr.ref +new_ocea_132.bufr.ref +new_ocea_133.bufr.ref +new_ocea_21.bufr.ref +new_pgps_110.bufr.ref +new_pilo_91.bufr.ref +new_s4kn_165.bufr.ref +new_ship_11.bufr.ref +new_ship_12.bufr.ref +new_ship_13.bufr.ref +new_ship_14.bufr.ref +new_ship_19.bufr.ref +new_ship_9.bufr.ref +new_smin_49.bufr.ref +new_smis_49.bufr.ref +new_smiu_49.bufr.ref +new_smos_203.bufr.ref +new_sn4k_165.bufr.ref +new_soil_7.bufr.ref +new_ssbt_127.bufr.ref +new_stuk_7.bufr.ref +new_syno_1.bufr.ref +new_syno_2.bufr.ref +new_syno_3.bufr.ref +new_syno_4.bufr.ref +new_syno_multi.bufr.ref +new_synop_multi_subset.bufr.ref +new_temp_101.bufr.ref +new_temp_102.bufr.ref +new_temp_106.bufr.ref +new_tmr7_129.bufr.ref +new_tros_31.bufr.ref +new_wavb_134.bufr.ref diff --git a/definitions/bufr/section.4.def b/definitions/bufr/section.4.def index 2edd5d18e..08383acdf 100644 --- a/definitions/bufr/section.4.def +++ b/definitions/bufr/section.4.def @@ -22,10 +22,10 @@ meta numericValues bufr_data_array(offsetSection4,offsetBeforeData,offsetEndSect meta unpack unpack_bufr_values(numericValues) ; -when (changed(unexpandedDescriptors)) { +#when (changed(unexpandedDescriptors)) { # resize data section and unpack - set unpack=3; -} +# set unpack=3; +#} section_padding section4Padding; position offsetEndSection4; diff --git a/src/grib_accessor_class_bufr_data.c b/src/grib_accessor_class_bufr_data.c index 908e93da5..53c951fbd 100644 --- a/src/grib_accessor_class_bufr_data.c +++ b/src/grib_accessor_class_bufr_data.c @@ -854,7 +854,6 @@ static int decode_elements(grib_accessor* a) { static void dump(grib_accessor* a, grib_dumper* dumper) { get_elements_and_decode(a); - a->parent->h->unpacked=1; grib_dump_section(dumper,a,a->sub_section->block); @@ -881,7 +880,6 @@ static int unpack_double(grib_accessor* a, double* val, size_t *len) { err=get_elements_and_decode(a); if (err) return err; - a->parent->h->unpacked=1; if (!val) return GRIB_SUCCESS; else return GRIB_NOT_IMPLEMENTED; diff --git a/src/grib_accessor_class_bufr_data_array.c b/src/grib_accessor_class_bufr_data_array.c index 3fe009e04..ce325121c 100644 --- a/src/grib_accessor_class_bufr_data_array.c +++ b/src/grib_accessor_class_bufr_data_array.c @@ -256,7 +256,6 @@ static void init(grib_accessor* a,const long v, grib_arguments* params) cancel_bitmap(self); self->expanded=0; self->expandedAccessor=0; - a->parent->h->unpacked=0; a->length = init_length(a); self->bitsToEndData=a->length*8; @@ -326,7 +325,6 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) { grib_accessor_bufr_data_array *self =(grib_accessor_bufr_data_array*)a; self->do_decode=1; - a->parent->h->unpacked=0; return GRIB_NOT_IMPLEMENTED; } @@ -335,7 +333,6 @@ static int pack_double(grib_accessor* a, const double* val, size_t *len) { grib_accessor_bufr_data_array *self =(grib_accessor_bufr_data_array*)a; self->do_decode=1; - a->parent->h->unpacked=0; return GRIB_NOT_IMPLEMENTED; } @@ -513,8 +510,8 @@ static int encode_double_array(grib_context* c,grib_buffer* buff,long* pos,int i ii++; v++; } - if (max>maxAllowed) return GRIB_OUT_OF_RANGE; - if (min<0) return GRIB_OUT_OF_RANGE; + if (max>maxAllowed && max!=GRIB_MISSING_DOUBLE) return GRIB_OUT_OF_RANGE; + if (min<0 && min!=GRIB_MISSING_DOUBLE) return GRIB_OUT_OF_RANGE; reference=min/modifiedFactor; localReference=reference-modifiedReference; @@ -527,7 +524,11 @@ static int encode_double_array(grib_context* c,grib_buffer* buff,long* pos,int i } grib_buffer_set_ulength_bits(c,buff,buff->ulength_bits+modifiedWidth); - grib_encode_unsigned_longb(buff->data,localReference,pos,modifiedWidth); + if (localWidth) { + grib_encode_unsigned_longb(buff->data,localReference,pos,modifiedWidth); + } else { + grib_set_bits_on(buff->data,pos,modifiedWidth); + } grib_buffer_set_ulength_bits(c,buff,buff->ulength_bits+6); grib_encode_unsigned_longb(buff->data,localWidth,pos,6); @@ -770,7 +771,7 @@ static int encode_new_replication(grib_context* c,grib_accessor_bufr_data_array* if (self->compressedData) { grib_buffer_set_ulength_bits(c,buff,buff->ulength_bits+6); - grib_encode_unsigned_longb(buff->data,0,pos,descriptors[i]->width); + grib_encode_unsigned_longb(buff->data,0,pos,6); }; return err; @@ -1111,13 +1112,17 @@ static grib_accessor* get_element_from_bitmap(grib_accessor* a,bitmap_s* bitmap) while (bitmapVal) { len=1; - ret=grib_unpack_long(bitmap->cursor->accessor,&bitmapVal,&len); - Assert(ret==0); + if (bitmap->cursor && bitmap->cursor->accessor) { + ret=grib_unpack_long(bitmap->cursor->accessor,&bitmapVal,&len); + } else { + return NULL; + } + if (ret!=0) return NULL; bitmap->cursor=bitmap->cursor->next; - bitmap->referredElement=bitmap->referredElement->next; + if(bitmap->referredElement) bitmap->referredElement=bitmap->referredElement->next; } - return bitmap->referredElement->prev->accessor; + return bitmap->referredElement ? bitmap->referredElement->prev->accessor : NULL ; } static GRIB_INLINE void reset_qualifiers(grib_accessor* significanceQualifierGroup[]) { @@ -1292,8 +1297,8 @@ static int create_keys(grib_accessor* a) { if (!bitmap.referredElement) { bitmap.cursor=bitmapStart[bitmapIndex]->next; bitmap.referredElement=bitmapStart[bitmapIndex]; - for (i=0;iprev; + for (i=0;iprev; } } elementFromBitmap=get_element_from_bitmap(a,&bitmap); @@ -1343,7 +1348,7 @@ static int process_elements(grib_accessor* a,int flag) { long totalSize; bufr_descriptor** descriptors=0; long icount; - int decoding=0; + int decoding=0,do_clean=1; grib_buffer* buffer=NULL; codec_element_proc codec_element; codec_replication_proc codec_replication; @@ -1357,14 +1362,13 @@ static int process_elements(grib_accessor* a,int flag) { totalSize=self->bitsToEndData; - if (!self->do_decode) return 0; - self->do_decode=0; - a->parent->h->unpacked=1; - switch (flag) { case PROCESS_DECODE: + if (!self->do_decode) return 0; + self->do_decode=0; buffer=h->buffer; decoding=1; + do_clean=1; pos=a->offset*8; codec_element=&decode_element; codec_replication=&decode_replication; @@ -1372,6 +1376,9 @@ static int process_elements(grib_accessor* a,int flag) { case PROCESS_NEW_DATA: buffer=grib_create_growable_buffer(c); decoding=0; + self->do_decode=1; + do_clean=1; + self->do_decode=1; pos=0; codec_element=&encode_new_element; codec_replication=&encode_new_replication; @@ -1389,7 +1396,7 @@ static int process_elements(grib_accessor* a,int flag) { descriptors=self->expanded->v; - if (decoding==1 && self->numericValues) { + if (do_clean==1 && self->numericValues) { grib_vdarray_delete_content(c,self->numericValues); grib_vdarray_delete(c,self->numericValues); grib_sarray_delete_content(c,self->stringValues); diff --git a/src/grib_accessor_class_expanded_descriptors.c b/src/grib_accessor_class_expanded_descriptors.c index 0e29ea81a..6c62ed257 100644 --- a/src/grib_accessor_class_expanded_descriptors.c +++ b/src/grib_accessor_class_expanded_descriptors.c @@ -33,7 +33,7 @@ MEMBERS = const char* tablesAccessorName MEMBERS = bufr_descriptors_array* expanded MEMBERS = int rank MEMBERS = grib_accessor* expandedAccessor -MEMBERS = int dirty +MEMBERS = int do_expand MEMBERS = grib_accessor* tablesAccessor END_CLASS_DEF @@ -72,7 +72,7 @@ typedef struct grib_accessor_expanded_descriptors { bufr_descriptors_array* expanded; int rank; grib_accessor* expandedAccessor; - int dirty; + int do_expand; grib_accessor* tablesAccessor; } grib_accessor_expanded_descriptors; @@ -180,7 +180,7 @@ static void init(grib_accessor* a, const long len , grib_arguments* args ) } self->unexpandedDescriptors=grib_arguments_get_name(a->parent->h,args,n++); self->sequence=grib_arguments_get_name(a->parent->h,args,n++); - self->dirty=1; + self->do_expand=1; self->expanded=0; a->length = 0; } @@ -515,10 +515,10 @@ static int expand(grib_accessor* a) bufr_descriptors_array* unexpanded=NULL; grib_context* c=a->parent->h->context; - if (!self->dirty) { + if (!self->do_expand) { return err; } - self->dirty=0; + self->do_expand=0; if (!self->tablesAccessor) { self->tablesAccessor=grib_find_accessor(a->parent->h,self->tablesAccessorName); Assert(self->tablesAccessor); @@ -558,6 +558,12 @@ static int expand(grib_accessor* a) } +int grib_accessor_class_expanded_descriptors_set_do_expand(grib_accessor* a,long do_expand) { + grib_accessor_expanded_descriptors* self = (grib_accessor_expanded_descriptors*)a; + self->do_expand=do_expand; + return 0; +} + bufr_descriptors_array* grib_accessor_class_expanded_descriptors_get_expanded(grib_accessor* a,int* err) { grib_accessor_expanded_descriptors* self = (grib_accessor_expanded_descriptors*)a; *err=expand(a); @@ -638,7 +644,7 @@ static int unpack_long (grib_accessor* a, long* val, size_t *len) static int pack_long (grib_accessor* a, const long* val, size_t *len) { grib_accessor_expanded_descriptors* self = (grib_accessor_expanded_descriptors*)a; - self->dirty=1; + self->do_expand=1; return GRIB_NOT_IMPLEMENTED; } diff --git a/src/grib_accessor_class_unexpanded_descriptors.c b/src/grib_accessor_class_unexpanded_descriptors.c index e979a1701..6cd432c58 100644 --- a/src/grib_accessor_class_unexpanded_descriptors.c +++ b/src/grib_accessor_class_unexpanded_descriptors.c @@ -209,6 +209,7 @@ static int pack_long (grib_accessor* a, const long* val, size_t *len) long pos = 0; unsigned long f,x,y; unsigned char* buf = NULL; + grib_accessor* expanded=NULL; size_t buflen=*len*2; long section3Length,totalLength; @@ -232,6 +233,10 @@ static int pack_long (grib_accessor* a, const long* val, size_t *len) grib_set_long(a->parent->h,"totalLength",totalLength); grib_set_long(a->parent->h,"section3Length",section3Length); + expanded=grib_find_accessor(a->parent->h,"expandedCodes"); + Assert(expanded!=NULL); + grib_accessor_class_expanded_descriptors_set_do_expand(expanded,1); + grib_set_long(a->parent->h,"unpack",3); return ret; } diff --git a/src/grib_api_internal.h b/src/grib_api_internal.h index 9433a84e4..7d8d7707d 100644 --- a/src/grib_api_internal.h +++ b/src/grib_api_internal.h @@ -823,7 +823,6 @@ struct grib_handle long bufr_subset_number; /* bufr subset number */ long bufr_group_number; /* used in bufr */ /* grib_accessor* groups[MAX_NUM_GROUPS]; */ - int unpacked; long missingValueLong; double missingValueDouble; }; diff --git a/src/grib_api_prototypes.h b/src/grib_api_prototypes.h index a97b22e5f..727dea9c6 100644 --- a/src/grib_api_prototypes.h +++ b/src/grib_api_prototypes.h @@ -611,6 +611,7 @@ void accessor_variable_set_type(grib_accessor *a, int type); /* grib_accessor_class_unexpanded_descriptors.c */ /* grib_accessor_class_expanded_descriptors.c */ +int grib_accessor_class_expanded_descriptors_set_do_expand(grib_accessor *a, long do_expand); bufr_descriptors_array *grib_accessor_class_expanded_descriptors_get_expanded(grib_accessor *a, int *err); /* grib_accessor_class_bufrdc_expanded_descriptors.c */ diff --git a/src/grib_bits_any_endian.c b/src/grib_bits_any_endian.c index 9852890b5..93b94c29f 100644 --- a/src/grib_bits_any_endian.c +++ b/src/grib_bits_any_endian.c @@ -52,6 +52,8 @@ int grib_encode_string(const unsigned char* bitStream, long *bitOffset, size_t n unsigned char mask[] ={ 0, 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE }; int remainderComplement=8-remainder; + if (remainder) byteOffset++; + if (numberOfCharacters==0) return err; p=(unsigned char*)bitStream+byteOffset; diff --git a/tests/bufr_filter.sh b/tests/bufr_filter.sh index b6653d0c3..5bdbdb68c 100755 --- a/tests/bufr_filter.sh +++ b/tests/bufr_filter.sh @@ -667,9 +667,7 @@ f="syno_1.bufr" fref="new.bufr" echo "Test: set unexpandedDescriptors" >> $fLog echo "file: $f" >> $fLog -${tools_dir}/bufr_filter -o ${f}.out $fRules $f 2>> $fLog 1>> $fLog - -${tools_dir}/bufr_filter $fRules $f 2> ${f}.log 1> ${f}.log +${tools_dir}/bufr_filter -o ${f}.out $fRules $f 2> ${f}.log 1> ${f}.log cat > ${f}.ref <> $fLog +echo "file: $f" >> $fLog + +cat >$testScript <> $fLog 1> $testScript + +./$testScript + +rm -f new_*bufr + #----------------------------------------------------------- # Test: get string #----------------------------------------------------------- diff --git a/tests/set_unexpandedDescriptors.filter b/tests/set_unexpandedDescriptors.filter new file mode 100644 index 000000000..bb4d0557f --- /dev/null +++ b/tests/set_unexpandedDescriptors.filter @@ -0,0 +1,700 @@ +set masterTablesVersionNumber=15; +set localTablesVersionNumber=0; +set compressedData=1; +set unexpandedDescriptors={310060}; +write "new_207003.bufr"; +print "diff new_207003.bufr.ref new_207003.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_aaen_55.bufr"; +print "diff new_aaen_55.bufr.ref new_aaen_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_aben_55.bufr"; +print "diff new_aben_55.bufr.ref new_aben_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_ahws_139.bufr"; +print "diff new_ahws_139.bufr.ref new_ahws_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={311001,222000,101018,31031,1031,1032,101018,33007}; +write "new_airc_142.bufr"; +print "diff new_airc_142.bufr.ref new_airc_142.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={311001,222000,101018,31031,1031,1032,101018,33007}; +write "new_airc_144.bufr"; +print "diff new_airc_144.bufr.ref new_airc_144.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310051,310052,101000,31002,310053,101004,310054,20010}; +write "new_airs_57.bufr"; +print "diff new_airs_57.bufr.ref new_airs_57.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_alws_139.bufr"; +print "diff new_alws_139.bufr.ref new_alws_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={311001,12103,13002,222000,101020,31031,1031,1201,101020,33007}; +write "new_amda_144.bufr"; +print "diff new_amda_144.bufr.ref new_amda_144.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_amsa_55.bufr"; +print "diff new_amsa_55.bufr.ref new_amsa_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_amsb_55.bufr"; +print "diff new_amsb_55.bufr.ref new_amsb_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_amse_55.bufr"; +print "diff new_amse_55.bufr.ref new_amse_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_amsu_55.bufr"; +print "diff new_amsu_55.bufr.ref new_amsu_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253,222000, +237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_amv2_87.bufr"; +print "diff new_amv2_87.bufr.ref new_amv2_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253,222000, +237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_amv3_87.bufr"; +print "diff new_amv3_87.bufr.ref new_amv3_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_asbh_139.bufr"; +print "diff new_asbh_139.bufr.ref new_asbh_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_asbl_139.bufr"; +print "diff new_asbl_139.bufr.ref new_asbl_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_asca_139.bufr"; +print "diff new_asca_139.bufr.ref new_asca_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_asch_139.bufr"; +print "diff new_asch_139.bufr.ref new_asch_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_ascs_139.bufr"; +print "diff new_ascs_139.bufr.ref new_ascs_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_aseh_139.bufr"; +print "diff new_aseh_139.bufr.ref new_aseh_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_asel_139.bufr"; +print "diff new_asel_139.bufr.ref new_asel_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312061}; +write "new_ashs_139.bufr"; +print "diff new_ashs_139.bufr.ref new_ashs_139.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_atap_55.bufr"; +print "diff new_atap_55.bufr.ref new_atap_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_ateu_155.bufr"; +print "diff new_ateu_155.bufr.ref new_ateu_155.bufr"; +set masterTablesVersionNumber=15; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310061}; +write "new_atms_201.bufr"; +print "diff new_atms_201.bufr.ref new_atms_201.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_atov_55.bufr"; +print "diff new_atov_55.bufr.ref new_atov_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253,222000, +237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_avhm_87.bufr"; +print "diff new_avhm_87.bufr.ref new_avhm_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310014,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_avhn_87.bufr"; +print "diff new_avhn_87.bufr.ref new_avhn_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={310013,201133,5041,201000}; +write "new_avhr_58.bufr"; +print "diff new_avhr_58.bufr.ref new_avhr_58.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={1001,1002,5002,6002,7001,4001,4002,4003,4004,4005,8021,4025,11002,11001,10051,12001,13014,13003,25033,120036, +7006,25032,25034,201116,8022,201000,11003,11004,201129,11050,201000,201116,8022,201000,201129,206008,21192,201000,11006,11051, +120007,7006,25032,25034,201116,8022,201000,11003,11004,201129,11050,201000,201116,8022,201000,201129,206008,21192,201000,11006, +11051}; +write "new_b002_95.bufr"; +print "diff new_b002_95.bufr.ref new_b002_95.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={301032,321021,25020,25021,8021,4025,101000,31001,321022}; +write "new_b002_96.bufr"; +print "diff new_b002_96.bufr.ref new_b002_96.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={4001,4002,4003,4004,4005,4006,1007,5040,5040,25071,5002,6002,5043,13038,8012,13039,8013,25045,25048,25049, +2022,7022,7024,13016,15001,20011,8003,10004,22043,12061,7001,8003,7004,12001,8003,5042,12063,5042,12063,5042, +12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042, +12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042, +12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042,12063,5042, +12063,5042,12063,5042,12063,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002, +7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001, +13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004, +12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002, +7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001, +13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004,12001,13002,7004, +12001,13002,7004,12001,13002}; +write "new_b003_56.bufr"; +print "diff new_b003_56.bufr.ref new_b003_56.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={1006,1008,2061,2062,2002,2005,2070,2063,2001,4001,4002,4003,4004,4005,5002,6002,8004,7004,8021,11001, +11002,11031,11034,11035,12001,12003,13003,20041,222000,101028,31031,1031,1201,101028,33007}; +write "new_b004_145.bufr"; +print "diff new_b004_145.bufr.ref new_b004_145.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_b005_87.bufr"; +print "diff new_b005_87.bufr.ref new_b005_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={301032,2003,2101,2106,201132,202130,2121,202000,201000,201133,202129,25001,202000,201000,25020,25021,8021,4025,111000,31001, +7007,204001,31021,11001,204000,11002,204001,31021,11006,204000,21030}; +write "new_b006_96.bufr"; +print "diff new_b006_96.bufr.ref new_b006_96.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={1033,1025,1027,301011,301012,301023,2041,19001,201130,19002,201000,19005,19006,19008,8005,10004,8005,10004,8005,11002, +104008,5021,5021,19003,19009}; +write "new_b007_31.bufr"; +print "diff new_b007_31.bufr.ref new_b007_31.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307080}; +write "new_bssh_170.bufr"; +print "diff new_bssh_170.bufr.ref new_bssh_170.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307086}; +write "new_bssh_176.bufr"; +print "diff new_bssh_176.bufr.ref new_bssh_176.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307091}; +write "new_bssh_178.bufr"; +print "diff new_bssh_178.bufr.ref new_bssh_178.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308009}; +write "new_bssh_180.bufr"; +print "diff new_bssh_180.bufr.ref new_bssh_180.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309052}; +write "new_btem_109.bufr"; +print "diff new_btem_109.bufr.ref new_btem_109.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308008}; +write "new_buoy_27.bufr"; +print "diff new_buoy_27.bufr.ref new_buoy_27.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_cmwi_87.bufr"; +print "diff new_cmwi_87.bufr.ref new_cmwi_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_cmwn_87.bufr"; +print "diff new_cmwn_87.bufr.ref new_cmwn_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={1101,1102,1019,2001,4001,4002,4003,4004,4005,5001,6001,7030,7032,12101,7032,2177,20062,13013}; +write "new_cnow_28.bufr"; +print "diff new_cnow_28.bufr.ref new_cnow_28.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,2019,301011,301013,301021,5040,201135,5041,201000,5043,20253,5196,2207,8075,21227,25207,40203,102005,2153,25081, +102016,5042,12201}; +write "new_cori_156.bufr"; +print "diff new_cori_156.bufr.ref new_cori_156.bufr"; +set masterTablesVersionNumber=15; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310060}; +write "new_crit_202.bufr"; +print "diff new_crit_202.bufr.ref new_crit_202.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253,222000, +237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_emsg_87.bufr"; +print "diff new_emsg_87.bufr.ref new_emsg_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004, +33253,222000,237000,1031,1032,101004,33007,222000,237000,1031,1032,101004,33252,222000,237000,1031,1032,101004,33253}; +write "new_euwv_87.bufr"; +print "diff new_euwv_87.bufr.ref new_euwv_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1033,1034,1007,2019,5040,201136,5041,201000,5043,301011,301013,301021,7002,13040,7024,5021,7025,5022,104000,31001, +5042,2153,2154,12063}; +write "new_fy3a_154.bufr"; +print "diff new_fy3a_154.bufr.ref new_fy3a_154.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1033,1034,1007,2019,5040,201136,5041,201000,5043,301011,301013,301021,7002,13040,7024,5021,7025,5022,104000,31001, +5042,2153,2154,12063}; +write "new_fy3b_154.bufr"; +print "diff new_fy3b_154.bufr.ref new_fy3b_154.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_go15_87.bufr"; +print "diff new_go15_87.bufr.ref new_go15_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007,222000,237000,1031,1032,101010,33007}; +write "new_goee_87.bufr"; +print "diff new_goee_87.bufr.ref new_goee_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310195,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_goes_87.bufr"; +print "diff new_goes_87.bufr.ref new_goes_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1211,2205,2206,4001,4002,4003,4004,4005,4006,5001,6001,7001,8225,22049,20249}; +write "new_grst_26.bufr"; +print "diff new_grst_26.bufr.ref new_grst_26.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1211,2205,2206,4001,4002,4003,4004,4005,4006,5001,6001,7001,8225,22049,20249}; +write "new_gst4_26.bufr"; +print "diff new_gst4_26.bufr.ref new_gst4_26.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_hirb_55.bufr"; +print "diff new_hirb_55.bufr.ref new_hirb_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_hirs_55.bufr"; +print "diff new_hirs_55.bufr.ref new_hirs_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={340001}; +write "new_ias1_240.bufr"; +print "diff new_ias1_240.bufr.ref new_ias1_240.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,1031,2019,2020,4001,4002,4003,4004,4005,202131,201138,4006,201000,202000,5001,6001,7024,5021,7025,5022, +5043,5040,201133,5041,201000,201132,25070,201000,202126,7001,202000,33060,33061,33062,33063,33064,33065,101010,340002,104000, +31002,201136,5042,201000,14046,2019,25051,101007,340004}; +write "new_iasi_241.bufr"; +print "diff new_iasi_241.bufr.ref new_iasi_241.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,1031,2019,2020,4001,4002,4003,4004,4005,4006,5040,201133,5041,201000,5001,6001,5043,13038,8012,8013, +2022,8065,40192,40193,40194,40195,40196,40197,40198,7024,5021,7025,5022,8003,10004,8049,12061,8049,202126,7001, +202000,8003,107000,31001,202131,201138,7004,201000,202000,12101,13001}; +write "new_itwt_233.bufr"; +print "diff new_itwt_233.bufr.ref new_itwt_233.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={340005}; +write "new_j2eo_216.bufr"; +print "diff new_j2eo_216.bufr.ref new_j2eo_216.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={340005}; +write "new_j2nb_216.bufr"; +print "diff new_j2nb_216.bufr.ref new_j2nb_216.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,25060,1033,2048,2048,5040,201134,7001,201000,202131,7005,202000,301011,301012,4007,5001,6001,8029,8074,8012, +25095,25096,25097,204001,31021,22070,204000,8023,22070,21128,123002,8076,204001,31021,201129,21062,201000,204000,8023,21062, +204001,31021,201134,7001,201000,204000,202131,7005,202000,8023,202131,7001,202000,21128,204001,31021,2173,204000,107003,201130, +2121,201000,204001,31021,12163,204000,104002,2023,202129,11012,202000,13090,13091}; +write "new_jaso_214.bufr"; +print "diff new_jaso_214.bufr.ref new_jaso_214.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307011,7006,10004,222000,101023,31031,1031,1032,101023,33007}; +write "new_meta_140.bufr"; +print "diff new_meta_140.bufr.ref new_meta_140.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_mhen_55.bufr"; +print "diff new_mhen_55.bufr.ref new_mhen_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_mhsa_55.bufr"; +print "diff new_mhsa_55.bufr.ref new_mhsa_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_mhsb_55.bufr"; +print "diff new_mhsb_55.bufr.ref new_mhsb_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310008}; +write "new_mhse_55.bufr"; +print "diff new_mhse_55.bufr.ref new_mhse_55.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310014,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_modi_87.bufr"; +print "diff new_modi_87.bufr.ref new_modi_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310014,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_modw_87.bufr"; +print "diff new_modw_87.bufr.ref new_modw_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310014,222000,236000,101103,31031,1031,1032,101010,33007,222000,237000,1031,1032,101010,33007,222000,237000,1031,1032,101010, +33007}; +write "new_monw_87.bufr"; +print "diff new_monw_87.bufr.ref new_monw_87.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309007,104000,31001,7004,8001,11061,11062,222000,101000,31002,31031,1031,1032,101000,31002,33007}; +write "new_mytemp.bufr"; +print "diff new_mytemp.bufr.ref new_mytemp.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309007,104000,31001,7004,8001,11061,11062,222000,101000,31002,31031,1031,1032,101000,31002,33007}; +write "new_new.bufr"; +print "diff new_new.bufr.ref new_new.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308003,10197,222000,101033,31031,1031,1201,101033,33007}; +write "new_ocea_131.bufr"; +print "diff new_ocea_131.bufr.ref new_ocea_131.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={315001,306002,222000,101037,31031,1031,1201,101037,33007}; +write "new_ocea_132.bufr"; +print "diff new_ocea_132.bufr.ref new_ocea_132.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={315002,222000,101014,31031,1031,1201,101014,33007}; +write "new_ocea_133.bufr"; +print "diff new_ocea_133.bufr.ref new_ocea_133.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308003,10197,222000,101033,31031,1031,1201,101033,33007}; +write "new_ocea_21.bufr"; +print "diff new_ocea_21.bufr.ref new_ocea_21.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={307022}; +write "new_pgps_110.bufr"; +print "diff new_pgps_110.bufr.ref new_pgps_110.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={301001,2011,2012,301011,301012,301022,105000,31001,7004,8001,10003,11001,11002,222000,101000,31002,31031,1031,1032,101000, +31002,33007}; +write "new_pilo_91.bufr"; +print "diff new_pilo_91.bufr.ref new_pilo_91.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={4001,4002,4003,4004,4005,5001,6001,7007,20065}; +write "new_s4kn_165.bufr"; +print "diff new_s4kn_165.bufr.ref new_s4kn_165.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_11.bufr"; +print "diff new_ship_11.bufr.ref new_ship_11.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_12.bufr"; +print "diff new_ship_12.bufr.ref new_ship_12.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_13.bufr"; +print "diff new_ship_13.bufr.ref new_ship_13.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_14.bufr"; +print "diff new_ship_14.bufr.ref new_ship_14.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_19.bufr"; +print "diff new_ship_19.bufr.ref new_ship_19.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308004,12005,10197,222000,101034,31031,1031,1032,101034,33007}; +write "new_ship_9.bufr"; +print "diff new_ship_9.bufr.ref new_ship_9.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310025}; +write "new_smin_49.bufr"; +print "diff new_smin_49.bufr.ref new_smin_49.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310025}; +write "new_smis_49.bufr"; +print "diff new_smis_49.bufr.ref new_smis_49.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={310025}; +write "new_smiu_49.bufr"; +print "diff new_smiu_49.bufr.ref new_smiu_49.bufr"; +set masterTablesVersionNumber=14; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={312070}; +write "new_smos_203.bufr"; +print "diff new_smos_203.bufr.ref new_smos_203.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={4001,4002,4003,4004,4005,5001,6001,7007,20065}; +write "new_sn4k_165.bufr"; +print "diff new_sn4k_165.bufr.ref new_sn4k_165.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={301031,102005,7061,12030,222000,101021,31031,1031,1201,101021,33007}; +write "new_soil_7.bufr"; +print "diff new_soil_7.bufr.ref new_soil_7.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,5040,201132,5041,30193,201000,4001,4002,4003,4004,4005,4006,5001,6001,13202,8003,12063,12063,12063,12063, +12063,12063,12063,5001,6001,13202,8003,12063,12063,5001,6001,13202,8003,12063,12063,5001,6001,13202,8003,12063, +12063,8193,26193,26194,26195,26196,26197,26198,8193,26193,26194,26195,26196,26197,26198,8193,26193,26194,26195,26196, +26197,26198}; +write "new_ssbt_127.bufr"; +print "diff new_ssbt_127.bufr.ref new_ssbt_127.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={301031,102005,7061,12030,222000,101021,31031,1031,1201,101021,33007}; +write "new_stuk_7.bufr"; +print "diff new_stuk_7.bufr.ref new_stuk_7.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307005,13023,13013,222000,101049,31031,1031,1032,101049,33007}; +write "new_syno_1.bufr"; +print "diff new_syno_1.bufr.ref new_syno_1.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307005,13023,13013,222000,101049,31031,1031,1032,101049,33007}; +write "new_syno_2.bufr"; +print "diff new_syno_2.bufr.ref new_syno_2.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307005,13021,13013,222000,101049,31031,1031,1032,101049,33007}; +write "new_syno_3.bufr"; +print "diff new_syno_3.bufr.ref new_syno_3.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307005,13021,13013,222000,101049,31031,1031,1032,101049,33007}; +write "new_syno_4.bufr"; +print "diff new_syno_4.bufr.ref new_syno_4.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={307005,13021,13013,222000,101049,31031,1031,1032,101049,33007}; +write "new_syno_multi.bufr"; +print "diff new_syno_multi.bufr.ref new_syno_multi.bufr"; +set masterTablesVersionNumber=14; +set localTablesVersionNumber=0; +set compressedData=0; +set unexpandedDescriptors={307079,4025,11042}; +write "new_synop_multi_subset.bufr"; +print "diff new_synop_multi_subset.bufr.ref new_synop_multi_subset.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309007,104000,31001,7004,8001,11061,11062,222000,101000,31002,31031,1031,1032,101000,31002,33007}; +write "new_temp_101.bufr"; +print "diff new_temp_101.bufr.ref new_temp_101.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309196,222000,101000,31002,31031,1031,1032,101000,31002,33007}; +write "new_temp_102.bufr"; +print "diff new_temp_102.bufr.ref new_temp_102.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={309198,104000,31001,7004,8001,11061,11062,222000,101000,31002,31031,1031,1032,101000,31002,33007}; +write "new_temp_106.bufr"; +print "diff new_temp_106.bufr.ref new_temp_106.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=1; +set unexpandedDescriptors={1007,5040,201133,5041,201000,30193,4001,4002,4003,4004,4005,4006,5002,6002,7001,7024,13202,8003,108009,2197, +2198,2104,201132,202129,12063,201000,202000}; +write "new_tmr7_129.bufr"; +print "diff new_tmr7_129.bufr.ref new_tmr7_129.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={1033,1025,1027,301011,301012,301023,2041,19001,201130,19002,201000,19005,19006,19008,8005,10004,8005,10004,8005,11002, +104008,5021,5021,19003,19009}; +write "new_tros_31.bufr"; +print "diff new_tros_31.bufr.ref new_tros_31.bufr"; +set masterTablesVersionNumber=13; +set localTablesVersionNumber=1; +set compressedData=0; +set unexpandedDescriptors={308015}; +write "new_wavb_134.bufr"; +print "diff new_wavb_134.bufr.ref new_wavb_134.bufr";