$LastChangedDate: 27-Juil-2011 $

# CL_locationInfo

Information about a location on the ground (land ratio)

## Calling Sequence

       [val] = CL_locationInfo("land_ratio", lon, lat)

## Description

- Information about a location on the ground.

  Only option available: "land_ratio", which gives the percentage of land in a 0.25 deg^2 area around the location:

  - 1.0 : 100% land, 0% sea

  - 0.7 : 70% land, 30% sea

  - 0.0 : 0% land, 100% sea

## Parameters

info:

  (string) Type of information to be returned (1x1)

lon :

  Geodetic longitude of the location [rad] (PxN)

lat:

  Geodetic latitude of the location [rad] (PxN)

val :

  Information value returned for each location (PxN)

## Authors

- CNES - DCT/SB

## Examples

    lon = (-10: 0.5: 40) * %CL_deg2rad;
    lat = (30: 0.5: 60) * %CL_deg2rad;
    [lon1,lat1] = ndgrid(lon,lat);
    land_ratio = CL_locationInfo("land_ratio", lon1, lat1);

    // Plot results on an Earth map:
    f = scf();
    f.color_map = jetcolormap(50);
    Sgrayplot(lon*%CL_rad2deg, lat*%CL_rad2deg, land_ratio, colminmax=[1,50]);
    CL_plot_earthMap(color_id = color("black"), data_bounds=[-10,30;40,60], ..
    res = "high", coord="ell", tick_steps=[10,10]);