Metadata-Version: 2.4
Name: asf_cherry_pick
Version: 2.0.5
Summary: Python package for cherry picking Data into asf
Author-email: Franck Thollard <franck.thollard@univ-grenoble-alpes.fr>
License: MIT License
        
        Copyright (c) 2022 NSBAS
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://gricad-gitlab.univ-grenoble-alpes.fr/NSBAS/asf_cherry_pick
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: asf_search>=12.0.0
Requires-Dist: fastkml
Requires-Dist: lxml
Requires-Dist: pytest>=9.0.2
Requires-Dist: remotezip>=0.10.0
Dynamic: license-file

asf_cherry_pick
===============

The Alaska Sar Fundation mirrors the sentinel1 data from the ESA. For a given acquisition, 
data are provided as a zip file. 

We provide here a script (and an API) that can fetch data into the zip file, allowing to
download only the product of interest. This is useflull either for downloading meta data 
or only the tiff file of interest (e.g. only one polarization and one sub swath). 

Elements to fetch are describe as a pattern (in the sens of regular expression). 

The set of product are given either 

- a file in kml format (that contains a polygon which represent the region of interest)
- a file containing the list of zip files to fetch 
- a file containing the list of urls

Installation
------------

- Unzip the file.
- create a virtual env environment (e.g. python3 -m venv asf_cherry_pick)
- go to the directory in asf_cherry_pick where the setup.py lies
- run the command **pip install .**

Upon installation, you will have access to the script asf_cherry_pick. 

Run **asf_cherry_pick -h** and **asf_cherry_pick -H** for a more detail help. 

Enjoy. 

