Last active
September 6, 2020 19:16
-
-
Save raybellwaves/4dd2f1472468e9f67424b6a148e9ac18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from satpy import Scene | |
import s3fs | |
import glob | |
fs = s3fs.S3FileSystem(anon=True) | |
# Create a folder called 'data' | |
# Download a folder (which is one time stamp) and contains all 16 channels and 10 segments | |
fs.get('noaa-himawari8/AHI-L1b-FLDK/2020/09/04/2350/*', 'data') | |
filenames = glob.glob('data/*') | |
scn = Scene(reader='ahi_hsd', filenames=filenames) | |
# See the dataset of the file by running | |
# scn.available_dataset_names(composites=True) | |
# Here we'll load channel 4 | |
scn.load(['B04']) | |
scn.show('B04') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment