# Any nice way to access XBT and CTD casts from WOD?

**URL:** https://discourse.pangeo.io/t/any-nice-way-to-access-xbt-and-ctd-casts-from-wod/3204
**Category:** Science
**Created:** [February 23, 2023, 6:19pm UTC](https://discourse.pangeo.io/t/any-nice-way-to-access-xbt-and-ctd-casts-from-wod/3204 "2023-02-23T18:19:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![itss](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/itss/32/1740_2.png) [@itss](https://discourse.pangeo.io/u/itss)
#### Post date: [February 23, 2023, 6:19pm UTC](https://discourse.pangeo.io/t/any-nice-way-to-access-xbt-and-ctd-casts-from-wod/3204/1 "2023-02-23T18:19:03Z")

</div>

I was wondering if anyone knows about a good way to access data from the World Ocean Database (CTD and XBT casts for example) or if you know of any tutorials for doing this optimally on a cluster.

---

<div class="post-metadata">

### Author: ![ocefpaf](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/ocefpaf/32/24_2.png) [@ocefpaf](https://discourse.pangeo.io/u/ocefpaf)
#### Post date: [February 24, 2023, 8:01pm UTC](https://discourse.pangeo.io/t/any-nice-way-to-access-xbt-and-ctd-casts-from-wod/3204/2 "2023-02-24T20:01:20Z")

</div>

From Thomas Moore in the OHW slack channel:

```auto
fs = s3fs.S3FileSystem(anon=True)
fs.ls('s3://noaa-wod-pds/')
f = fs.open('s3://noaa-wod-f2 = fs.open('s3://noaa-wod-pds/2022/wod_pfl_2022.nc')
wod_pfl_2022 = xr.open_dataset(f2, engine='h5netcdf')
plt.rcParams["figure.figsize"] = (20,10)
plt.scatter(x=wod_pfl_2022.lon, y=wod_pfl_2022.lat, linewidths=0, s=0.5) 

```

Not sure if you find everything you need there.

---

<div class="post-metadata">

### Author: ![Thomas\_Moore](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/thomas_moore/32/2035_2.png) [@Thomas\_Moore](https://discourse.pangeo.io/u/Thomas_Moore)
#### Post date: [March 24, 2023, 3:12am UTC](https://discourse.pangeo.io/t/any-nice-way-to-access-xbt-and-ctd-casts-from-wod/3204/3 "2023-03-24T03:12:57Z")

</div>

Ha ha! I navigated to this thread curious to see what the answers might be.
