Skip to main content
  • Home
  • Documentation
  • FAQ
  • Downloads
  • Support
  • Current Release Notes
  • Ferret Users Guide
    • Users Guide Index
    • Commands Reference
    • 1. Introduction
    • 2. Data Set Basics
    • 3. Variables & Expressions
    • 4. Grids & Regions
    • 5. Animations & Gif Images
    • 6. Customizing Plots
    • 7. Handling String Data Symbols
    • 8. Working with Special Data Sets
    • 9. Computing Environment
    • 10. Converting to NetCDF
    • 11. Writing External Functions
    • Glossary
    • Appendix A: Functions
    • Appendix B: PPLUS Guide
    • Appendix C: Ferret-Specific PPLUS Enhancements
  • Previous Release Notes
  • Tutorials and Demos
    • Ferret Tour
    • DSG files: Discrete Sampling Geometries Demo
    • Ferret sorting demo
    • Fast Fourier Transforms demo
    • Empirical Orthogonal Functions demo
    • Ferret objective analysis demo
    • Ferret Palette Demo
    • Map projections
    • Ferret polygon vector demo
    • Ferret Graticules demo
    • Ferret Polytube Demo
    • Ferret Polymark Demo
    • Ferret Constant-Array demo
    • Ferret land_detail demo
    • COADS Tour
    • Levitus Tour
    • Use OPeNDAP
    • Ferret binary read demo
  • PyFerret
    • PyFerret Downloads and Install
    • What is PyFerret?
    • Why use PyFerret?
    • PyFerret for the Ferret user
    • PyFerret command syntax: quick-start notes
    • PyFerret for the Python user
    • Graphics in PyFerret ?
    • New Ferret functionality
    • PyFerret Python functions and constants
    • PyFerret Python objects and methods
    • Ferret external functions in Python
    • Ferret Fortran external functions
    • PyFerret metadata-and-data dictionaries
  • OPeNDAP
    • OPeNDAP usage in Ferret
    • Use OPeNDAP Demo
    • Test OPeNDAP

OPeNDAP usage in Ferret

OPeNDAP usage in Ferret

Note that starting with V6.6 of Ferret, Ferret is linked with NetCDF-4 libraries (from https://www.unidata.ucar.edu/software/netcdf/) instead of OPeNDAP libraries (from opendap.org),and V6.6 has new qualifiers on commands to allow handling NetCDF-4files. Future releases of Ferret will all be linked with NetCDFlibraries. NetCDF-4.1 and higher incl

yes? show symbol netcdf_version

will query the netCDF library and return the version number.

OPeNDAP is protocol formerly known as DODS, the Distributed Oceanographic Data System. It allows users to access data anywhere from the internet using a variety of client/server methods, including Ferret. Employing technology similar to that used by the World Wide Web, OPeNDAP and Ferret create a powerful tool for the retrieval, sampling, analyzing and displaying of datasets; regardless of size or data format (though there are data format limitations).

Using OPeNDAP datasets in Ferret is just like using any other data set.

Prior to Ferret v7, url must be enclosed in quotation marks. This requirement is lifted in Ferret v7 and higher; quotes are optional.

For example:

yes? SET DATA "http://data.pmel.noaa.gov/pmel/thredds/dodsC/data/PMEL/levitus_climatology.nc"
yes? SHADE temp[z=0]
 
! Ferret v7 and higher
yes? SET DATA http://data.pmel.noaa.gov/pmel/thredds/dodsC/data/PMEL/levitus_climatology.nc
yes? SHADE temp[z=0]

Documentation on use of OPeNDAP data sets in Ferret is in the Ferret User's Guide Ch2 Sec7: Access to remote data sets with OPeNDAP

Ferret and OPeNDAP demonstrations

OPeNDAP demo

dods_demo.jnl - script file

Full OPeNDAP documentation can be found at https://www.opendap.org/

The features of OPeNDAP 3.2 include:

A client-side startup file (.dodsrc)

Client-side caching to store data you have requested on your local computer. The size and location of the cache, and expiration dates can be set using the initialization file .dodsrc

Proxy server support, configured in the .dodsrc file

Availability of a OPeNDAP master data set list

Finding OPeNDAP datasets

Search the OPeNDAP data set list

Search the Global Change Master Directory

Browse OPeNDAP datasets through LAS

PMEL, ESRL, and FSU are sample OPeNDAP servers.

For example:

yes? SET DATA "http://data.pmel.noaa.gov/pmel/thredds/dodsC/data/PMEL/levitus_climatology.nc"

See also the NVODS homepage, the National Virtual Ocean Data System.

For assistance in setting up an OPeNDAP server at your site, please see the OPeNDAP webpage.