Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarusA authored Nov 25, 2024
1 parent 3354f90 commit 7458386
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DatasetAPI/Datasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ end
"""
open_mfdataset(files::DD.DimVector{<:AbstractString}; kwargs...)
Opens an concatenates a list of dataset paths along the dimension specified in `files`.
Opens and concatenates a list of dataset paths along the dimension specified in `files`.
This method can be used when the generic glob-based version of open_mfdataset fails
or is too slow.
For example, to concatenate a list of annual NetCDF files along the `Ti` dimension,
Expand All @@ -376,8 +376,6 @@ dimension provided in the input arg is used:
````julia
files = ["a.nc","b.nc","c.nc"]
open_mfdataset(DD.DimArray(files,DD.Dim{:NewDim}(["a","b","c"])))
"""
function open_mfdataset(vec::DD.DimVector{<:AbstractString};kwargs...)
alldatasets = open_dataset.(vec;kwargs...);
fi = first(alldatasets)
Expand Down

0 comments on commit 7458386

Please sign in to comment.