Project

General

Profile

« Previous | Next » 

Revision 016331a7

ID016331a73ef97fc60f8860c325339f0d28cfcc44
Parent 8b6eadce
Child f7800fa5

Added by Chris Jones about 11 years ago

Initial check in of the spatial reporter class. The SpatialReporter class' entry point is the main() method, which calls _query() to get spatial distribution data from the CN, _create_grid() to create an indexed worldwide grid (currently 60 min resolution), and _summarize() to produce JSON and shape file outputs. The JSON file represents aggregated counts of data points for each non-zero count grid cell, and the shape file is the distribution of the centroids calculated from the incoming bounding box information for each science metadata object.

TODO:
Hook up the CLI arguments
Work on normalizing the distribution by rank because of the wide range of the gridded distribution (1 to > 7K per cell, which doesn;t map well)
Implement setup.py
Clean up code

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

Add picture from clipboard (Maximum size: 14.8 MB)