Skip to content

Commit

Permalink
Merge pull request #137 from JuliaOcean/v2p13b
Browse files Browse the repository at this point in the history
add query demo to docs
  • Loading branch information
gaelforget authored Dec 10, 2024
2 parents f816de3 + f1050a8 commit a777cdf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ plot
OceanRobots.query
```

```@example ex1
using OceanRobots
OceanRobots.query(XBTtransect,"AOML")
```

## Add-Ons

!!! note
Expand Down
5 changes: 2 additions & 3 deletions src/files.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1079,15 +1079,14 @@ _Data were made available by the Scripps High Resolution XBT program (www-hrx.uc
"""

"""
list_transects(; group="AOML")
list_transects(; group="SIO")
known groups : AOML, SIO
```
using OceanRobots
OceanRobots.list_transects(:SIO)
OceanRobots.list_transects("SIO")
```
read_NOAA_csv(path)
"""
function list_transects(group="SIO")
if group=="AOML"
Expand Down
1 change: 1 addition & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ Get list of observing platforms.
```
using OceanRobots
OceanRobots.query(ShipCruise)
OceanRobots.query(XBTtransect,"AOML")
```
#not treated yet : Gliders, CloudDrift
Expand Down

0 comments on commit a777cdf

Please sign in to comment.