Refactoring

This commit is contained in:
Shahram Najm 2019-09-11 15:37:16 +01:00
parent 911ac70a10
commit c28cac97e0
5 changed files with 6 additions and 7 deletions

View File

@ -141,6 +141,7 @@ GRIB_ATTRIBUTE_NOT_FOUND = _gribapi_swig.GRIB_ATTRIBUTE_NOT_FOUND
GRIB_UNSUPPORTED_EDITION = _gribapi_swig.GRIB_UNSUPPORTED_EDITION
GRIB_OUT_OF_RANGE = _gribapi_swig.GRIB_OUT_OF_RANGE
GRIB_WRONG_BITMAP_SIZE = _gribapi_swig.GRIB_WRONG_BITMAP_SIZE
GRIB_FUNCTIONALITY_NOT_ENABLED = _gribapi_swig.GRIB_FUNCTIONALITY_NOT_ENABLED
class intp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, intp, name, value)

View File

@ -32,7 +32,7 @@ TESTS = definitions.sh \
grib_octahedral.sh \
grib_global.sh \
grib_concept.sh \
decimalPrecision.sh \
grib_decimalPrecision.sh \
grib_bitsPerValue.sh \
get_fail.sh \
grib_missing.sh \
@ -46,7 +46,6 @@ TESTS = definitions.sh \
grib_bitmap.sh \
grib_list.sh \
grib_second_order.sh \
multi_from_message.sh \
grib_change_scanning.sh \
julian.sh \
grib_statistics.sh \
@ -73,11 +72,10 @@ download_data:
@$(top_srcdir)/data/download.sh $(top_srcdir)/data
noinst_PROGRAMS = packing_check gauss_sub read_any grib_double_cmp packing pack_unpack \
multi_from_message julian read_index index gribex_perf\
julian read_index index gribex_perf\
jpeg_perf grib_ccsds_perf so_perf png_perf bpv_limit laplacian \
unit_tests
multi_from_message_SOURCES = multi_from_message.c
laplacian_SOURCES = laplacian.c
packing_SOURCES = packing.c
packing_check_SOURCES = packing_check.c

View File

@ -70,7 +70,7 @@ int main(int argc, char* argv[]) {
double perc=0;
long bitsPerValue=0;
int iarg=1;
char grid[20]={0,};
char grid[40]={0,};
char shortName[20]={0,};
long level;
char levelType[20]={0,};

View File

@ -70,7 +70,7 @@ int main(int argc, char* argv[]) {
double perc=0;
long bitsPerValue=0;
int iarg=1;
char grid[20]={0,};
char grid[40]={0,};
char shortName[20]={0,};
long level;
char levelType[20]={0,};

View File

@ -4476,7 +4476,7 @@ int grib_no_handle_action(grib_runtime_options* options, int err)
int main(int argc, char** argv)
{
printf("\n");
printf("%s:\n", grib_tool_name);
printf("grib_to_netcdf:\n");
printf("\n");
printf(" ecCodes was not compiled with NETCDF enabled\n");
printf("\n");