Skip to content

The netcdf_handler cannot read from several related files on test.opendap.org #1365

Description

@ndp-opendap

These datasets on test.opendap.org:

dataset_urls="http://ngap-west.opendap.org:8080/opendap/data/nc/in1.nc \
http://ngap-west.opendap.org:8080/opendap/data/nc/in_2.nc \
http://ngap-west.opendap.org:8080/opendap/data/nc/in.nc \
http://ngap-west.opendap.org:8080/opendap/data/nc/in_no_three_double_dmn.nc"

DAP2

Asking for dap2 data ($dataset_url.dods):

for dateset_url in $dataset_urls 
do
    curl -n -L -O "$dataset_url.dods"
done

returns an inline dap2 error in after the DDS section of the DODS response:

Error { 
    code = 500;
    message = "libdap error transmitting DataDDS: Could not read the variable `pck'.";
}

DAP4

Asking for dap4 data ($dataset_url.dap):

for dateset_url in $dataset_urls 
do
    curl -n -L -O "$dataset_url.dap"
done

returns a dap4 error object:

<?xml version="1.0" encoding="UTF-8"?>
<dap4:Error xmlns:dap4="http://xml.opendap.org/ns/DAP/4.0#" httpcode="500">
  <dap4:Message>ERROR - Unable to parse expected &amp;lt;BESError&amp;gt; object from stream! Message: Error on line 1058: Content is not allowed in trailing section.</dap4:Message>
  <dap4:Context />
  <dap4:OtherInformation />
</dap4:Error>

Which is an error from the OLFS that indicates that the BES transmitted an error chunk that failed to get parsed correctly into a BESError object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions