List general information of datasets within a data file commonly used in Atmospheric Science.
Project description
Changed the README format from Markdown to rST.
Description
This code can be used to explore data with the following format:
HDF4
HDF5
netCDF and netCDF4
IDL save file
Dependencies
How to install
Open up a terminal,
pip3 install datainfo
How to use
For example, we have a HDF4 file named “MCD43C3.A2015337.005.2015365205333.hdf”. Open up a terminal, type in:
lss MCD43C3.A2015337.005.2015365205333.hdf
The variable information will be displayed as the following:
+ HDF4 Albedo_BSA_Band1 ----- : Dataset (3600, 7200) Albedo_BSA_Band2 ----- : Dataset (3600, 7200) Albedo_BSA_Band3 ----- : Dataset (3600, 7200) Albedo_BSA_Band4 ----- : Dataset (3600, 7200) Albedo_BSA_Band5 ----- : Dataset (3600, 7200) Albedo_BSA_Band6 ----- : Dataset (3600, 7200) Albedo_BSA_Band7 ----- : Dataset (3600, 7200) Albedo_BSA_nir ------- : Dataset (3600, 7200) Albedo_BSA_shortwave - : Dataset (3600, 7200) Albedo_BSA_vis ------- : Dataset (3600, 7200) Albedo_WSA_Band1 ----- : Dataset (3600, 7200) Albedo_WSA_Band2 ----- : Dataset (3600, 7200) Albedo_WSA_Band3 ----- : Dataset (3600, 7200) Albedo_WSA_Band4 ----- : Dataset (3600, 7200) Albedo_WSA_Band5 ----- : Dataset (3600, 7200) Albedo_WSA_Band6 ----- : Dataset (3600, 7200) Albedo_WSA_Band7 ----- : Dataset (3600, 7200) Albedo_WSA_nir ------- : Dataset (3600, 7200) Albedo_WSA_shortwave - : Dataset (3600, 7200) Albedo_WSA_vis ------- : Dataset (3600, 7200) BRDF_Quality --------- : Dataset (3600, 7200) Local_Solar_Noon ----- : Dataset (3600, 7200) Percent_Inputs ------- : Dataset (3600, 7200) Percent_Snow --------- : Dataset (3600, 7200) -
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datainfo-0.1.3.tar.gz
(4.5 kB
view hashes)