Merge pull request #88 from ecmwf/bugfix/grib_util_set_spec_gridType=lambert_azimuthal_equal_area

grib_util_set_spec: gridType=lambert_azimuthal_equal_area keys (MIR-5…
This commit is contained in:
shahramn 2023-03-17 12:22:20 +00:00 committed by GitHub
commit b097fd0e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -1159,16 +1159,16 @@ grib_handle* grib_util_set_spec2(grib_handle* h,
COPY_SPEC_DOUBLE(latitudeOfFirstGridPointInDegrees);
COPY_SPEC_LONG(Ni); /* same as Nx */
COPY_SPEC_LONG(Nj); /* same as Ny */
/* TODO: pass in extra keys e.g. Dx, Dy, standardParallel and centralLongitude */
COPY_SPEC_LONG(iScansNegatively);
COPY_SPEC_LONG(jScansPositively);
/*
COPY_SPEC_LONG(DxInMetres);
COPY_SPEC_LONG(DyInMetres);
COPY_SPEC_LONG(xDirectionGridLengthInMillimetres);
COPY_SPEC_LONG(yDirectionGridLengthInMillimetres);
COPY_SPEC_LONG(standardParallelInMicrodegrees);
COPY_SPEC_LONG(centralLongitudeInMicrodegrees);
*/
// TODO: pass in extra keys e.g. Dx, Dy, standardParallel and centralLongitude
// COPY_SPEC_LONG(DxInMetres);
// COPY_SPEC_LONG(DyInMetres);
// COPY_SPEC_LONG(xDirectionGridLengthInMillimetres);
// COPY_SPEC_LONG(yDirectionGridLengthInMillimetres);
// COPY_SPEC_LONG(standardParallelInMicrodegrees);
// COPY_SPEC_LONG(centralLongitudeInMicrodegrees);
break;
case GRIB_UTIL_GRID_SPEC_UNSTRUCTURED: