Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def extract(self, date, region, credentials, outDir='./', gridding_radius=50000):
files = fetch.atms(credentials, startTime=date,
endTime=None, region=region, outDir=outDir)
geotiffs = list(
map(lambda x: preprocess.atms(x, gridding_radius), files))
return geotiffs
def extract(self,date,region,outdir='./',creds=None,gridding_radius=50000):
files = fetch.atms(date,region,outdir,creds)
geotiffs = list(map(lambda x: preprocess.atms(x,gridding_radius), files))
return geotiffs