satpy.demo.viirs_sdr module

Demo data download for VIIRS SDR HDF5 files.

satpy.demo.viirs_sdr.get_viirs_sdr_20170128_1229(base_dir=None, channels=('I01', 'I02', 'I03', 'I04', 'I05', 'M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12', 'M13', 'M14', 'M15', 'M16', 'DNB'), granules=(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))[source]

Get VIIRS SDR files for 2017-01-28 12:29 to 12:43.

These files are downloaded from Zenodo. You can see the full file listing here:

Specific channels can be specified with the channels keyword argument. By default, all channels (all I bands, M bands, and DNB bands) will be downloaded. Channels are referred to by their band type and channel number (ex. “I01” or “M16” or “DNB”). Terrain-corrected geolocation files are always downloaded when the corresponding band data is specified.

The granules argument will control which granules (“time steps”) are downloaded. There are 10 available and the keyword argument can be specified as a tuple of integers from 1 to 10.

This full dataset is ~10.1GB.


File list was retrieved using the zenodo API.

import requests
viirs_listing = requests.get("")
viirs_dict = json.loads(viirs_listing.content)
print("\n".join(sorted(x['links']['self'] for x in viirs_dict['files'])))