Information about a location on the ground
val = CL_locationInfo(info, lon, lat)
Information about a location on the ground.
Two information types are available: land_ratio and sea_ratio:
- land_ratio: ratio (between 0 and 1) of land in a ~1400km^2 area around the location.
1.0 means 100% land, 0% sea or lakes
0.7 means 70% land, 30% sea or lakes
0.0 means 0% land, 100% sea or lakes
- sea_ratio: ratio (between 0 and 1) of sea in a ~1400km^2 area around the location.
1.0 means 100% sea, 0% land or lakes
0.7 means 70% sea, 30% land or lakes
0.0 means 0% sea, 100% land or lakes
(string) Type of information to be returned: "land_ratio" or "sea_ratio" (1x1)
Geodetic longitude of the location [rad] (PxN)
Geodetic latitude of the location [rad] (PxN)
Information value returned for each location (PxN)
CNES - DCT/SB
lon = CL_deg2rad(-10: 0.5: 40); lat = CL_deg2rad(30: 0.5: 60); [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(CL_rad2deg(lon), CL_rad2deg(lat), 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]); | ![]() | ![]() |