Skip to content

Commit

Permalink
Eliminate second constructor for ECCO_metadata
Browse files Browse the repository at this point in the history
Closes #226
  • Loading branch information
glwagner authored Nov 12, 2024
1 parent 8b244fb commit f00ab0b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/DataWrangling/ECCO/ECCO_metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ function ECCOMetadata(name::Symbol;
return ECCOMetadata(name, dates, version, dir)
end

ECCOMetadata(name::Symbol, date, version=ECCO4Monthly(); dir=download_ECCO_cache) =
ECCOMetadata(name, date, version, dir)

# Treat ECCOMetadata as an array to allow iteration over the dates.
Base.length(metadata::ECCOMetadata) = length(metadata.dates)
Base.eltype(metadata::ECCOMetadata) = Base.eltype(metadata.dates)
Expand Down

0 comments on commit f00ab0b

Please sign in to comment.