ECC-1115: GRIB: Add new key to get the proj string for a grid

This commit is contained in:
Shahram Najm 2020-05-18 15:58:40 +01:00
parent 770cb95baf
commit 633e37ce1a
7 changed files with 478 additions and 486 deletions

View File

@ -120,3 +120,4 @@ alias typeOfGrid=gridType;
meta md5Section3 md5(offsetSection3,section3Length);
alias md5GridSection = md5Section3;
meta projString proj_string(gridType): hidden;

View File

@ -236,6 +236,7 @@ list( APPEND grib_api_srcs
grib_accessor_class_g2_chemical.c
grib_accessor_class_g2_mars_labeling.c
grib_accessor_class_md5.c
grib_accessor_class_proj_string.c
grib_jasper_encoding.c
grib_openjpeg_encoding.c
action_class_set_missing.c

View File

@ -253,6 +253,7 @@ libeccodes_la_prototypes= \
grib_accessor_class_g2_mars_labeling.c \
grib_accessor_class_transient_darray.c \
grib_accessor_class_md5.c \
grib_accessor_class_proj_string.c \
grib_jasper_encoding.c \
grib_openjpeg_encoding.c \
action_class_set_missing.c \

View File

@ -172,6 +172,7 @@ extern grib_accessor_class* grib_accessor_class_padto;
extern grib_accessor_class* grib_accessor_class_padtoeven;
extern grib_accessor_class* grib_accessor_class_padtomultiple;
extern grib_accessor_class* grib_accessor_class_position;
extern grib_accessor_class* grib_accessor_class_proj_string;
extern grib_accessor_class* grib_accessor_class_raw;
extern grib_accessor_class* grib_accessor_class_rdbtime_guess_date;
extern grib_accessor_class* grib_accessor_class_reference_value_error;

File diff suppressed because it is too large Load Diff

View File

@ -171,6 +171,7 @@
{ "padtoeven", &grib_accessor_class_padtoeven, },
{ "padtomultiple", &grib_accessor_class_padtomultiple, },
{ "position", &grib_accessor_class_position, },
{ "proj_string", &grib_accessor_class_proj_string, },
{ "raw", &grib_accessor_class_raw, },
{ "rdbtime_guess_date", &grib_accessor_class_rdbtime_guess_date, },
{ "reference_value_error", &grib_accessor_class_reference_value_error, },

View File

@ -172,6 +172,7 @@ padto, &grib_accessor_class_padto
padtoeven, &grib_accessor_class_padtoeven
padtomultiple, &grib_accessor_class_padtomultiple
position, &grib_accessor_class_position
proj_string, &grib_accessor_class_proj_string
raw, &grib_accessor_class_raw
rdbtime_guess_date, &grib_accessor_class_rdbtime_guess_date
reference_value_error, &grib_accessor_class_reference_value_error