Skip to main content

Lightweight code to run inference with CloudSEN12 models

Project description

Article DOI:10.1038/s41597-022-01878-2 PyPI PyPI - License

Logo CloudSEN12

This package contains minimum code to run the CloudSEN12 models proposed in Aybar et al. 2022 and Aybar et al. 2024. The main dependencies of this package are pytorch and the georeader package which only depends on rasterio and geopandas libraries.

The notebook run_in_gee_image.ipynb has an example of running the model on a Sentinel-2 image downloaded from the Google Earth Engine:

For more examples see cloudsen12.github.io.

Citation

If you find this code useful please cite:

@article{aybar_cloudsen12_2024,
	title = {{CloudSEN12}+: {The} largest dataset of expert-labeled pixels for cloud and cloud shadow detection in {Sentinel}-2},
	issn = {2352-3409},
	url = {https://www.sciencedirect.com/science/article/pii/S2352340924008163},
	doi = {10.1016/j.dib.2024.110852},
	journal = {Data in Brief},
	author = {Aybar, Cesar and Bautista, Lesly and Montero, David and Contreras, Julio and Ayala, Daryl and Prudencio, Fernando and Loja, Jhomira and Ysuhuaylas, Luis and Herrera, Fernando and Gonzales, Karen and Valladares, Jeanett and Flores, Lucy A. and Mamani, Evelin and Quiñonez, Maria and Fajardo, Rai and Espinoza, Wendy and Limas, Antonio and Yali, Roy and Alcántara, Alejandro and Leyva, Martin and Loayza-Muro, Rau´l and Willems, Bram and Mateo-García, Gonzalo and Gómez-Chova, Luis},
	month = aug,
	year = {2024},
	pages = {110852},
}

@article{aybar_cloudsen12_2022,
	title = {{CloudSEN12}, a global dataset for semantic understanding of cloud and cloud shadow in {Sentinel}-2},
	volume = {9},
	issn = {2052-4463},
	url = {https://www.nature.com/articles/s41597-022-01878-2},
	doi = {10.1038/s41597-022-01878-2},
	number = {1},
	urldate = {2023-01-02},
	journal = {Scientific Data},
	author = {Aybar, Cesar and Ysuhuaylas, Luis and Loja, Jhomira and Gonzales, Karen and Herrera, Fernando and Bautista, Lesly and Yali, Roy and Flores, Angie and Diaz, Lissette and Cuenca, Nicole and Espinoza, Wendy and Prudencio, Fernando and Llactayo, Valeria and Montero, David and Sudmanns, Martin and Tiede, Dirk and Mateo-García, Gonzalo and Gómez-Chova, Luis},
	month = dec,
	year = {2022},
	pages = {782},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudsen12_models-0.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

cloudsen12_models-0.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cloudsen12_models-0.4.tar.gz.

File metadata

  • Download URL: cloudsen12_models-0.4.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for cloudsen12_models-0.4.tar.gz
Algorithm Hash digest
SHA256 4cdf90b48ea8c758cbd9cab9ea2ef7578e695d2aff2e20a605ebc5a24758058b
MD5 a949208724e76529be65cb2dfb03ff75
BLAKE2b-256 0145167a371eb56c62ff6f9f4202b3b60b2afcea4b4107f5509651578b85657c

See more details on using hashes here.

File details

Details for the file cloudsen12_models-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudsen12_models-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 391b7e07ad493d6b15bb66e01ee290a0b02b04c8a499365fa7b663c562db4af8
MD5 17bd7849f955f4e2feda00c9269faf1f
BLAKE2b-256 5c897bac1402bf863863a7eb7782d5d5d87028b2f2e457ae7f343cd8788dd685

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page