Commit 2a57a3a0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

add support for GRID type LAEA

parent 78f222c9
...@@ -3072,6 +3072,15 @@ void gridPrint(int gridID, int opt) ...@@ -3072,6 +3072,15 @@ void gridPrint(int gridID, int opt)
if ( ysize > 0 ) fprintf(fp, "ysize = %d\n", ysize); if ( ysize > 0 ) fprintf(fp, "ysize = %d\n", ysize);
} }
if ( type == GRID_LAEA )
{
double a, lon_0, lat_0;
gridInqLaea(gridID, &a, &lon_0, &lat_0);
fprintf(fp, "a = %g\n", a);
fprintf(fp, "lon_0 = %g\n", lon_0);
fprintf(fp, "lat_0 = %g\n", lat_0);
}
if ( gridptr->isRotated ) if ( gridptr->isRotated )
{ {
if ( xsize > 0 ) fprintf(fp, "xnpole = %g\n", gridptr->xpole); if ( xsize > 0 ) fprintf(fp, "xnpole = %g\n", gridptr->xpole);
......
Supports Markdown
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