From 459d76da9ebe6e24d0fc6381b134d140c96bc018 Mon Sep 17 00:00:00 2001 From: Taimoor Sohail Date: Thu, 20 Feb 2025 16:42:09 +1100 Subject: [PATCH] Typo in the README directory for ECCO errors (#343) * Changed the ECCO Password/Username error to have the correct directory for the README * Made a mistake in the file path -- fixed now --- .gitignore | 2 +- src/DataWrangling/ECCO/ECCO_metadata.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2a2faf59..428e87cb 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,4 @@ docs/src/literated/ *.nsys-rep *.ncu-rep *.sq -*.sqlite \ No newline at end of file +*.sqlite diff --git a/src/DataWrangling/ECCO/ECCO_metadata.jl b/src/DataWrangling/ECCO/ECCO_metadata.jl index e782239a..ce54ea4c 100644 --- a/src/DataWrangling/ECCO/ECCO_metadata.jl +++ b/src/DataWrangling/ECCO/ECCO_metadata.jl @@ -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