Personal tools
You are here: Home Documentation Users Guide Appendix A: External Functions TEST_OPENDAP
Document Actions

TEST_OPENDAP

TEST_OPENDAP(url)


    Returns the status flag from attempt to open an OPeNDAP file
    url: OPeNDAP URL to test (STRING)

A status flag of 0 means successful access.


Arguments:

URL

String, the URL to try

Result Axes:

X

ABSTRACT


Y

NORMAL


Z

NORMAL


T

NORMAL


Examples: First a valid URL. The code for Success is 0.0

yes? LIST test_opendap ("http://test.opendap.org/opendap/data/nc/test.nc")
             VARIABLE : TEST_OPENDAP ("http://test.opendap.org/opendap/data/nc/test.nc")
             X        : 1
          0.0000

Here is a test of an invalid URL
yes? list test_opendap ("http://not_a_valid_server/test.nc")
             VARIABLE : TEST_OPENDAP ("http://not_a_valid_server/test.nc")
             X        : 1
          1001.



Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: