Rename BUFR sample files (remove .bufr extension)

This commit is contained in:
Shahram Najm 2016-08-08 13:12:16 +01:00
parent cdaf6d1317
commit a97409334a
8 changed files with 6 additions and 6 deletions

View File

@ -807,11 +807,11 @@ static void header(grib_dumper* d, grib_handle* h)
if (localSectionPresent && bufrHeaderCentre==98 ) { if (localSectionPresent && bufrHeaderCentre==98 ) {
grib_get_long(h,"isSatellite",&isSatellite); grib_get_long(h,"isSatellite",&isSatellite);
if (isSatellite) if (isSatellite)
sprintf(sampleName,"BUFR%ld_local_satellite.bufr",edition); sprintf(sampleName,"BUFR%ld_local_satellite",edition);
else else
sprintf(sampleName,"BUFR%ld_local.bufr",edition); sprintf(sampleName,"BUFR%ld_local",edition);
} else { } else {
sprintf(sampleName,"BUFR%ld.bufr",edition); sprintf(sampleName,"BUFR%ld",edition);
} }
if (d->count<2) { if (d->count<2) {

View File

@ -785,11 +785,11 @@ static void header(grib_dumper* d, grib_handle* h)
if (localSectionPresent && bufrHeaderCentre==98 ) { if (localSectionPresent && bufrHeaderCentre==98 ) {
grib_get_long(h,"isSatellite",&isSatellite); grib_get_long(h,"isSatellite",&isSatellite);
if (isSatellite) if (isSatellite)
sprintf(sampleName,"BUFR%ld_local_satellite.bufr",edition); sprintf(sampleName,"BUFR%ld_local_satellite",edition);
else else
sprintf(sampleName,"BUFR%ld_local.bufr",edition); sprintf(sampleName,"BUFR%ld_local",edition);
} else { } else {
sprintf(sampleName,"BUFR%ld.bufr",edition); sprintf(sampleName,"BUFR%ld",edition);
} }
if (d->count<2) { if (d->count<2) {