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"; my $data = landsat_meta_from_filename $filename; print $data->{WRS_PATH};
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
level1_dfcb_rev5_401.pdf
Returns information from the filename, like the PRODUCT_METADATA structured from the MTL record, but without opening the 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.
L1_METADATA_FILE
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.90, built on January 23, 2018. Website: http://perl.overmeer.net/CPAN/
Copyrights 2009-2018 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://dev.perl.org/licenses/
To install Geo::Format::Landsat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Format::Landsat
CPAN shell
perl -MCPAN -e shell install Geo::Format::Landsat
For more information on module installation, please visit the detailed CPAN module installation guide.