From a97409334a40a97756a50364755ce30f34fc80a6 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 8 Aug 2016 13:12:16 +0100 Subject: [PATCH] Rename BUFR sample files (remove .bufr extension) --- samples/{BUFR3.bufr.tmpl => BUFR3.tmpl} | Bin samples/{BUFR3_local.bufr.tmpl => BUFR3_local.tmpl} | Bin ...tellite.bufr.tmpl => BUFR3_local_satellite.tmpl} | Bin samples/{BUFR4.bufr.tmpl => BUFR4.tmpl} | Bin samples/{BUFR4_local.bufr.tmpl => BUFR4_local.tmpl} | Bin ...tellite.bufr.tmpl => BUFR4_local_satellite.tmpl} | Bin src/grib_dumper_class_fortran.c | 6 +++--- src/grib_dumper_class_python.c | 6 +++--- 8 files changed, 6 insertions(+), 6 deletions(-) rename samples/{BUFR3.bufr.tmpl => BUFR3.tmpl} (100%) rename samples/{BUFR3_local.bufr.tmpl => BUFR3_local.tmpl} (100%) rename samples/{BUFR3_local_satellite.bufr.tmpl => BUFR3_local_satellite.tmpl} (100%) rename samples/{BUFR4.bufr.tmpl => BUFR4.tmpl} (100%) rename samples/{BUFR4_local.bufr.tmpl => BUFR4_local.tmpl} (100%) rename samples/{BUFR4_local_satellite.bufr.tmpl => BUFR4_local_satellite.tmpl} (100%) diff --git a/samples/BUFR3.bufr.tmpl b/samples/BUFR3.tmpl similarity index 100% rename from samples/BUFR3.bufr.tmpl rename to samples/BUFR3.tmpl diff --git a/samples/BUFR3_local.bufr.tmpl b/samples/BUFR3_local.tmpl similarity index 100% rename from samples/BUFR3_local.bufr.tmpl rename to samples/BUFR3_local.tmpl diff --git a/samples/BUFR3_local_satellite.bufr.tmpl b/samples/BUFR3_local_satellite.tmpl similarity index 100% rename from samples/BUFR3_local_satellite.bufr.tmpl rename to samples/BUFR3_local_satellite.tmpl diff --git a/samples/BUFR4.bufr.tmpl b/samples/BUFR4.tmpl similarity index 100% rename from samples/BUFR4.bufr.tmpl rename to samples/BUFR4.tmpl diff --git a/samples/BUFR4_local.bufr.tmpl b/samples/BUFR4_local.tmpl similarity index 100% rename from samples/BUFR4_local.bufr.tmpl rename to samples/BUFR4_local.tmpl diff --git a/samples/BUFR4_local_satellite.bufr.tmpl b/samples/BUFR4_local_satellite.tmpl similarity index 100% rename from samples/BUFR4_local_satellite.bufr.tmpl rename to samples/BUFR4_local_satellite.tmpl diff --git a/src/grib_dumper_class_fortran.c b/src/grib_dumper_class_fortran.c index 7c91dfb74..5f0454fca 100644 --- a/src/grib_dumper_class_fortran.c +++ b/src/grib_dumper_class_fortran.c @@ -807,11 +807,11 @@ static void header(grib_dumper* d, grib_handle* h) if (localSectionPresent && bufrHeaderCentre==98 ) { grib_get_long(h,"isSatellite",&isSatellite); if (isSatellite) - sprintf(sampleName,"BUFR%ld_local_satellite.bufr",edition); + sprintf(sampleName,"BUFR%ld_local_satellite",edition); else - sprintf(sampleName,"BUFR%ld_local.bufr",edition); + sprintf(sampleName,"BUFR%ld_local",edition); } else { - sprintf(sampleName,"BUFR%ld.bufr",edition); + sprintf(sampleName,"BUFR%ld",edition); } if (d->count<2) { diff --git a/src/grib_dumper_class_python.c b/src/grib_dumper_class_python.c index 83d6e7208..d1373c101 100644 --- a/src/grib_dumper_class_python.c +++ b/src/grib_dumper_class_python.c @@ -785,11 +785,11 @@ static void header(grib_dumper* d, grib_handle* h) if (localSectionPresent && bufrHeaderCentre==98 ) { grib_get_long(h,"isSatellite",&isSatellite); if (isSatellite) - sprintf(sampleName,"BUFR%ld_local_satellite.bufr",edition); + sprintf(sampleName,"BUFR%ld_local_satellite",edition); else - sprintf(sampleName,"BUFR%ld_local.bufr",edition); + sprintf(sampleName,"BUFR%ld_local",edition); } else { - sprintf(sampleName,"BUFR%ld.bufr",edition); + sprintf(sampleName,"BUFR%ld",edition); } if (d->count<2) {