Commit d28f5640 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files


parent b047166f
import os, sys, argparse, shlex, glob
import cdsapi
from eodag.utils.logging import setup_logging
from eodag.api.core import EODataAccessGateway
from subprocess import Popen, PIPE, STDOUT
from osgeo import gdal, osr, ogr
setup_logging(verbose=3) #3=debug, 1 et 2 = INFO, 0 =quiet
def download_eodag():
def stream_process(process):
go = process.poll() is None
for line in process.stdout:
return go
def process_command(cmd):
print("Starting : "+" ".join(cmd))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment