Last active
May 12, 2021 07:59
-
-
Save willrayeo/79ecf17642434f7a2c4ba42b5995c6a4 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
# Setup xcube | |
s2_cube_config = CubeConfig(dataset_name='S2L2A', | |
band_names=['B02', 'B03', 'B04', 'B08'], | |
bbox=tewkesbury_uk_bbox, | |
spatial_res=0.000089, | |
time_range=['2020-12-01', '2021-02-28'], | |
time_tolerance='30M') | |
# Open cube (on the fly) | |
s2_cube = open_cube(s2_cube_config, **sh_credentials) | |
# Display contents | |
s2_cube |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment