[SciPy-User] MODIS data and true-color plotting
Charles R Harris
Sun Nov 13 17:39:28 CST 2011
On Sun, Nov 13, 2011 at 2:49 PM, Gökhan Sever <email@example.com> wrote:
> On Sun, Nov 13, 2011 at 1:35 PM, Charles R Harris <
> firstname.lastname@example.org> wrote:
>> It's kind of a pain, no? I ended up using the java swath tool and a
>> script. I'm not proud of it, but I've attached it in case you find parts of
>> it is useful. I hope it was a working version of the script ;) The swath
>> tool omits some of the useful projections.
> Could you provide a working example version of the script (with data and
> other scripts included)? I am still not clear about this swath2grid
> conversion action :) Can ms2gt have a Python equivalent? Isn't basemap
> doing a similar conversion?
I'll take a look, I think I still have both the geolocation file and the
data file somewhere, but they are rather large so it might be easier if you
just download the files from the NASA sight once I can recall exactly where
that was. You need both for the level 2 products in order to disentangle
the overlapping push broom swaths and the viewing geometry and interpolate
the result for the projection. It's a non trivial problem that I left to
the swath tool. Some of the other tools are supposed to be able to do that
also, but the documentation wasn't good enough that I wanted to pursue that
line. Also, installing the swath tool on linux leaves some needed info in
the .bash_profile file that you might want to move to .bashrc, I don't know
how things work on windows. I think the higher level data products are
easier to deal with.
I wasn't overjoyed with the state of the NASA public software ;)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User