Skip to content

Commit

Permalink
Merge branch 'main' into ss/one-degree-take3
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri authored Feb 21, 2025
2 parents 428d366 + 459d76d commit 7c5e161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ docs/src/literated/
*.nsys-rep
*.ncu-rep
*.sq
*.sqlite
*.sqlite
6 changes: 3 additions & 3 deletions src/DataWrangling/ECCO/ECCO_metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,15 @@ function download_dataset(metadata::ECCOMetadata; url = urls(metadata))
filepath = metadata_path(metadatum)

if !isfile(filepath)
instructions_msg = "\n See ClimaOcean.jl/src/ECCO/README.md for instructions."
instructions_msg = "\n See ClimaOcean.jl/src/DataWrangling/ECCO/README.md for instructions."
if isnothing(username)
msg = "Could not find the ECCO_PASSWORD environment variable. \
See ClimaOcean.jl/src/ECCO/README.md for instructions on obtaining \
See ClimaOcean.jl/src/DataWrangling/ECCO/README.md for instructions on obtaining \
and setting your ECCO_USERNAME and ECCO_PASSWORD." * instructions_msg
throw(ArgumentError(msg))
elseif isnothing(password)
msg = "Could not find the ECCO_PASSWORD environment variable. \
See ClimaOcean.jl/src/ECCO/README.md for instructions on obtaining \
See ClimaOcean.jl/src/DataWrangling/ECCO/README.md for instructions on obtaining \
and setting your ECCO_USERNAME and ECCO_PASSWORD." * instructions_msg
throw(ArgumentError(msg))
end
Expand Down

0 comments on commit 7c5e161

Please # to comment.