Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Mar 15, 2022
1 parent b9e07aa commit 246ddbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/src/dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ NCDataset
```

Useful functions that operate on datasets are:

```@docs
keys(ds::NCDataset)
haskey
getindex(ds::NCDataset,varname::AbstractString)
variable
cfvariable
sync
close
path
NCDatasets.path
ncgen
varbyattrib
write
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To get started quickly see the [Quickstart](@ref) section. Otherwise see the fol
* [Dimensions](@ref) : accessing/creating NetCDF dimensions
* [Variables](@ref) : accessing/examining the variables (or dimensions) stored within a NetCDF dataset.
* [Attributes](@ref) : accessing/creating NetCDF attributes
* See [Performance tips](@ref), [Known issues](@ref), [Experimental features](@ref) for more information.
* See [Performance tips](@ref performance_tips), [Known issues](@ref), [Experimental features](@ref) for more information.

## Quickstart

Expand Down
1 change: 1 addition & 0 deletions src/dataset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ Base.keys(ds::NCDataset) = listVar(ds.ncid)

"""
path(ds::NCDataset)
Return the file path (or the opendap URL) of the NCDataset `ds`
"""
path(ds::NCDataset) = nc_inq_path(ds.ncid)
Expand Down

0 comments on commit 246ddbb

Please sign in to comment.