Skip to content

Instantly share code, notes, and snippets.

@parulnith
Created February 6, 2020 10:55
Show Gist options
  • Select an option

  • Save parulnith/14a9da40ad9499d2e8fc433ae9952db5 to your computer and use it in GitHub Desktop.

Select an option

Save parulnith/14a9da40ad9499d2e8fc433ae9952db5 to your computer and use it in GitHub Desktop.
df.select('red',
'nir',
'datetime',
'id',
rf_extent('red').alias('extent'),
rf_crs('red').alias('crs')) \
.filter(rf_no_data_cells(rf_with_no_data('red', 0)) < 800)
# show tiles that have lots of valid data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment