Skip to content

DAP4 Serialization Patch #42

Description

@ndp-opendap

We need to fix the fix for the dap4 serialization change.

There will be several sub tickets to this issue as we need to make changes in:

  • libdap4 - code and baselines
  • bes - code and baselines
  • hyrax_regression_tests - baselines

The Change

  • Revert/rewind the current value of the xml attribute dmrVersion from 2.0 to 1.0. Since this value is set and produced by software in libdap and the bes we must make changes there.
  • Add a new attribute to the Dataset element in the DMR: dap:serialization;="4.0" which indicates the server will serialize the DAP4 data response according to the DAP4 serialization scheme.
  • Fix a lot of baselines. Since this is a change in the DMR document transmitted both as metadata and in the data response we can expect a widespread testing impacts.

Now that we have discovered and fixed an order of serialization bug we need to provide a mechanism for clients to identify the servers that are "patched".

Examples

XML attribute and value

dap:serialization="4.0" 

Dataset element

<Dataset 
    xmlns="http://xml.opendap.org/ns/DAP/4.0#" 
    xml:base="http://test.opendap.org:8080/opendap/NSIDC/ATL01_20201221111151_04882305_002_01.h5.dmr" 
    dapVersion="4.0" 
    dmrVersion="1.0" 
    dap:serialization="4.0" 
    name="ATL01_20201221111151_04882305_002_01.h5">

Questions

  • Should we include the dap:serialization attribute with every DMR, or only with the DMR in the DAP4 data response?

@Mikejmnez , @jgallagher59701 , @dh-opendap , @hannahilea

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions