-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@ellenbuckley It seems like all the provenance metadata (Julian days, satellite, days) needed is contained in the file names. If the files are fetched in a systematic way (from an API?), the cloud/tci image pairs can be retrieved in sync and the code could be simplified a bit.
# converting to date
res = datetime.strptime(year_str + "-" + doy_str, "%Y-%j").strftime("%Y-%m-%d")
if aq:
sat='aqua'
else:
sat='terra'
fcloud=fcloud_direc+'cloud_'+res+'_'+str(doy)+'_'+sat+'.tiff'
ftci=ftci_direc+'tci_'+res+'_'+str(doy)+'_'+sat+'.tiff'We could have a single for loop that reads in the pairs and does the processing. Is this observation correct?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels