Revision 016331a7
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