The DDS print_das() method does not produce the same DAS as the DAS::print() method for Grids sometimes

Description

The Grid's Array and Map elements attributes show up in the DAS as empty tables when DDS:rint_das() renders them, but they are absent when DAS:rint() returns the response.

Example (from DDS:rint_das()):

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 Attributes { lat { String units "degrees_north"; } lon { String units "degrees_east"; } time { String units "seconds"; } z { String units "meters"; Float64 valid_range 0.000000000000000, 5000.000000000000; Float32 _FillValue 1.00000000; z { } lat { } lon { } } t { t { } lat { } lon { } } pixel { pixel { } lat { } lon { } } NC_GLOBAL { String title "Hyrax/netcdf handler test file for zero-length arrays"; Float64 version 1.000000000000000; String description "Test zero-length arrays in a data handler."; } DODS_EXTRA { String Unlimited_Dimension "time"; } }

versus (from DAS:rint()):

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Attributes { lat { String units "degrees_north"; } lon { String units "degrees_east"; } time { String units "seconds"; } z { String units "meters"; Float64 valid_range 0.000000000000000, 5000.000000000000; Float32 _FillValue 1.00000000; } t { } pixel { } NC_GLOBAL { String title "Hyrax/netcdf handler test file for zero-length arrays"; Float64 version 1.000000000000000; String description "Test zero-length arrays in a data handler."; } DODS_EXTRA { String Unlimited_Dimension "time"; } }

Environment

None

Status

Assignee

James Gallagher

Reporter

James Gallagher

Labels

None

Story Points

None

Epic Link

Components

Affects versions

DataUse-18.1

Priority

Medium
Configure