Information about a location on the ground (land ratio)
val = CL_locationInfo("land_ratio",lon,lat)
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
(string) Type of information to be returned (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]); |