List general information of datasets within a data file commonly used in Atmospheric Science.
Project description
### Description
This code can be used to explore data with the following format:
HDF4
HDF5
netCDF and netCDF4
IDL save file
— ### Dependencies
Python 3.6 - [h5py](http://www.h5py.org/) - [pyhdf](http://fhs.github.io/python-hdf4/) - [scipy.io](https://docs.scipy.org/doc/scipy/reference/io.html) - [netCDF4](http://unidata.github.io/netcdf4-python/)
— ### How to install
`bash pip install datainfo `
in the source file of your shell environment, e.g., ~/.bashrc, add `bash alias lss="lss -f" `
— ### How to use
`bash lss MCD43C3.A2015337.005.2015365205333.hdf `
`bash + 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) - `
For data that has unclear file type extension, e.g., test.idlsav,
`bash lss test.idlsav idl `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.