terraref / extractors-hyperspectral

Scripts and code relevant to the SWIR and VNIR cameras.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Overhaul calibration process for VNIR/SWIR #54

Closed max-zilla closed 4 years ago

max-zilla commented 4 years ago

Significant changes here, the result of several hackathons and collaborative effort to improve this extractor. Key changes:

So hyperspectral_calculation.py has the georeferencing code, calibrate.py creates empty netCDF, does calibration, calls georeference code, adds it all to headers.

THIS NEEDS MORE TESTING BEFORE I MERGE but should just be fixing bugs, not major changes. In separate pieces, all code has been tested.

dlebauer commented 4 years ago

This would be a good opportunity to address this previous issue https://github.com/terraref/reference-data/issues/83 and begin using CF standard names for the variables like reflectance http://cfconventions.org/Data/cf-standard-names/current/build/cf-standard-name-table.html