Skip to content
Snippets Groups Projects
Commit 2a57a3a0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

add support for GRID type LAEA

parent 78f222c9
No related branches found
No related tags found
No related merge requests found
......@@ -3072,6 +3072,15 @@ void gridPrint(int gridID, int opt)
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 ( xsize > 0 ) fprintf(fp, "xnpole = %g\n", gridptr->xpole);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment