force-tile-finder

In case of the gridded data structure, a geographic coordinate can be converted to tile and pixel coordinates using force-tile-finder. This functionality is intended to spatially locate data. Any gridded data cube (containing a data cube definition file, see VII.M) can be given as 1st argument. Longitude and latitude must be given as 2nd and 3rd arguments with coordinates in decimal degree (negative values for West/South). The resolution needs to be given (4th argument) in order to relate coordinates to pixel positions.

Usage

force-tile-finder [-h] [-v] [-i] [-p lon,lat] [-r resolution] datacube-dir

-h  = show this help
-v  = show version
-i  = show program's purpose

-p lon/lat  = point of interest
   use geographic coordinates!
   longitude is X!
   latitude  is Y!

-r resolution  = target resolution
   this is needed to compute the pixel number

Positional arguments:
- 'datacube-dir': directory of existing datacube