Commit 1f0a1638 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gridInqParamLCC: added support for attribute semi_major_axis.

parent adfc7a24
......@@ -3787,6 +3787,7 @@ int gridInqParamLCC(int gridID, double missval, double *lon_0, double *lat_0, do
if ( cdiInqAttConvertedToFloat(gridID, atttype, attname, attlen, attflt) )
{
if ( strIsEqual(attname, "earth_radius") ) *a = attflt[0];
else if ( strIsEqual(attname, "semi_major_axis") ) *a = attflt[0];
else if ( strIsEqual(attname, "inverse_flattening") ) *rf = attflt[0];
else if ( strIsEqual(attname, "longitude_of_central_meridian") ) *lon_0 = attflt[0];
else if ( strIsEqual(attname, "latitude_of_projection_origin") ) *lat_0 = attflt[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment