Skip to content
Snippets Groups Projects
Commit 669e0ffa authored by Greg Quinn's avatar Greg Quinn
Browse files

Fix modis_srf problem: shape was reversed!

parent 90a7ea26
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ def read_modis_srfs():
nu_end = sd.select('end_frequency')[:]
for band, nu_begin, nu_end in zip(band, nu_begin, nu_end):
F = sd.select('channel_%s_response' % band)[:]
F = sd.select('channel_%s_response' % band)[:][::-1]
lambda_ = wn2wl(np.linspace(nu_begin, nu_end, len(F)))[::-1]
srfs[band] = WavelengthSrf(lambda_, F)
sd.end()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment