| Geo::Format::Landsat::MTL - read landsat meta data from MTL file |
Geo::Format::Landsat::MTL - read landsat meta data from MTL file
Geo::Format::Landsat::MTL is a Exporter
my ($type, $data) = landsat_mtl_from_file $filename;
# study the result. use Data::Dumper; warn Dumper $data;
print $data->{METADATA_FILE_INFO}{ORIGIN}, "\n";
Process the content of a MTL file, as specified by document
level1_dfcb_rev5_401.pdf.
See also http://landsathandbook.gsfc.nasa.gov/handbook/handbook_toc.html
landsat_mtl_from_file(FILE)
Read one Vgroup record from the FILE, specified by name or filehandle.
Returned is a pair: the name of the record (for instance, L1_METADATA_FILE)
and the destructed content. Each nested group is represented by a nested
HASH.
The HASHes contain keys in capitals, which are exactly the fields as found in the meta-data file. Additionally, a number of lower-cased keys are added (the lower cased versions of some upper-cased names) with smart processed information.
This module is part of Geo-Format-Landsat distribution version 0.02, built on January 27, 2009. Website: http://perl.overmeer.net/geo/ All modules in this suite: Geo::Point, Geo::Proj4, Geo::WKT, Math::Polygon, Geo::GML, Geo::ISO19139, Geo::EOP, and Geo::Format::Envisat. Geo::Format::Landsat.
Please post questions or ideas to http://geo-perl@list.hut.fi|the mailinglist
Copyrights 2009 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
| Geo::Format::Landsat::MTL - read landsat meta data from MTL file |