Uploaded image for project: 'Hyrax Data Server'
  1. HYRAX-647

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

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: DataUse-18.1
    • Fix Version/s: None
    • Component/s: libdap
    • Labels:
      None

      Description

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

      Example (from DDS::print_das()):

      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::print()):

      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";
          }
      }
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                jimg James Gallagher
                Reporter:
                jimg James Gallagher
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h