Initial commit of Peter Wang's MODIS ingestion code - still under development
1. Modified modis_ingester.sh to load gdal/1.10.1
2. Modified modis_ingester.py to reflect new netCDF format
3. Modified modis_dataset.py to correct pixel height/width
-of <file_format> option added to gdalwarp call
Fixed gdalwarp command string
VRT file created for netCDF files - needs to have file_type = netCDF and
file_extension = .vrt in relevant tile_type record. (UNTESTED)
NC/VRT code cleaned up a bit
Code added to manage .VRT adaptors with .NC files (untested)
Error checking added to ncdump execution
find_datasets modified to allow an individual netCDF file to be specified as the source.
1. Moved preprocess_dataset to ingest and modified it for Modis to generate 2 bandstacks, one for bands 1-7 and one for RBQ500
2. Modified modis_ingester & modis_dataset to work with 2 bandstacks.
1. Fixed abstract methods.
1. Removed debug output.
modis_ingester.find_datasets() function modified to find .nc files at
all levels below source_dir
Peter Wang's changes to write band stack VRT files to temporary directory instead of source directory.
Untested changes to write .nc filename to database with different level_id for MOD09 and RBQ500
Acquisition finding queries modified to accommodate null x_ref or y_ref values
Extra debug output added to tile_contents.py
Improved datetime conversion routine added to modis_dataset.py and get_datetime_processed fixed to return datetime object instead of string
Extra debugging output (including times) added
has_data function improved so it does not read all bands in at once
Times added to final summary
LICENSE file created and added to repository root
LICENSE file updated to match formatting from BSD website (as per text in source files)
Merge branch 'peter-wang/modis-ingester' into develop