<< CL_intervUnion Utilities CL_matSort >>

CelestLab >> Utilities > CL_locationInfo

CL_locationInfo

Information about a location on the ground (land ratio)

Calling Sequence

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

Description

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

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]);
<< CL_intervUnion Utilities CL_matSort >>