Skip to content

Commit b6cdd14

Browse files
Remove the filepath notification for all ECCO data if data is already downloaded (#409)
Co-authored-by: Navid C. Constantinou <[email protected]>
1 parent bdaf320 commit b6cdd14

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/DataWrangling/ECCO/ECCO_metadata.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ function download_dataset(metadata::ECCOMetadata; url = urls(metadata))
168168
# Write down the username and password in a .netrc file
169169
downloader = netrc_downloader(username, password, "ecco.jpl.nasa.gov", tmp)
170170
ntasks = Threads.nthreads()
171-
172-
missing_files = false
173171

174172
asyncmap(metadata; ntasks) do metadatum # Distribute the download among tasks
175173

@@ -194,10 +192,6 @@ function download_dataset(metadata::ECCOMetadata; url = urls(metadata))
194192
Downloads.download(fileurl, filepath; downloader, progress=download_progress)
195193
end
196194
end
197-
198-
if !missing_files
199-
@info "Note: ECCO $(metadata.name) data is in $(metadata.dir)."
200-
end
201195
end
202196

203197
return nothing

0 commit comments

Comments
 (0)