OPENDAP / bes

The BES framework, which forms the basis for the Hyrax server
GNU Lesser General Public License v3.0
13 stars 19 forks source link

First draft of unsupported fillValue handing #820

Closed ndp-opendap closed 1 year ago

ndp-opendap commented 1 year ago

This PR adds the function:

void check_fillValue_attribute_for_unsupported_types(xml_attribute attr);

To the DMZ.cc and it is called by DMZ::process_chunks().

This new function throws an exception when the value of the dmrpp/@fillValue attribute is any of:

This causes 7 of the dmrpp_module/tests: 139, 140, 193, 194, 195, 196, 197 to fail. In every case the new function found "unsupported-string"

I'm going to look at eliding the offending variable from the DMR.