Documentation

This commit is contained in:
Shahram Najm 2019-10-08 13:53:49 +01:00
parent 93919d53a6
commit aef9a9ca21
1 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,13 @@ int grib_options_count=sizeof(grib_options)/sizeof(grib_option);
static double lat=0;
static double lon=0;
static int mode=0;
/* Note:
* There are two JSON-output modes:
* 1. With a provided lat-lon for the nearest neighbour (options->latlon==1)
* 2. All other cases (options->json_output==1)
* The first is special and has a very different format. They need to be
* treated differently
*/
static int json_latlon=0;
static int first_handle=1;
static grib_nearest* nearest=NULL;