Commit 185fc2ef authored by Niklas Bohn's avatar Niklas Bohn
Browse files

Fixed bug in surface model building.

parent 7219d6f5
......@@ -336,6 +336,7 @@ def surface_model(config):
model['means'] = np.array(model['means'])
model['covs'] = np.array(model['covs'])
s.io.savemat(outfile, model)
print("saving results to", outfile)
......
{
"output_model_file": "/Users/niklasbohn/Desktop/surface_model.mat",
"output_model_file": "/Users/niklasbohn/Desktop/2nd_paper/model/snow_surface_model.mat",
"wavelength_file": "/Users/niklasbohn/Desktop/2nd_paper/data/aviris_ng/20170320_ang20170228_wavelength_fit.txt",
"normalize":"Euclidean",
"reference_windows":[[400,1300],[1450,1700],[2100,2450]],
......@@ -8,7 +8,7 @@
{
"input_spectrum_files":
[
"/Users/niklasbohn/Desktop/isofit/data/reflectance/surface_model_ucsb"
"/Users/niklasbohn/Desktop/2nd_paper/model/glacier_ice_surface_model_sld30_ga121_ga221.img"
],
"n_components": 8,
"windows": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment