We're updating the issue view to help you get more done. 

Modyfing attributes is broken for joinExisiting

Description

This aggregation using joinExisiting:

1 2 3 4 5 6 7 8 9 10 <?xml version="1.0" encoding="UTF-8"?> <!-- joinExisting test on netcdf granules using scan@ncoords extension--><netcdf title="joinExisting test on netcdf Grid granules using scan@ncoords"> <attribute name="Description" type="string" value=" joinExisting test on netcdf Grid granules using scan@ncoords" /> <aggregation type="joinExisting" dimName="time"> <!-- Filenames imply lexicographic and chronological orderings match --> <scan location="/opendap/hyrax/coverage/mday" subdirs="false" suffix=".nc" ncoords="1" /> </aggregation> </netcdf>

Seems to work fine. However various existing attributes in the resulting dataset are wrong because the ncml_handler doesn't (and probably can't, lacking more explicit semantics) update their values. I tried to do this by adding to the NcML file like so:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <?xml version="1.0" encoding="UTF-8"?> <!-- joinExisting test on netcdf granules using scan@ncoords extension--><netcdf title="joinExisting test on netcdf Grid granules using scan@ncoords"> <attribute name="Description" type="string" value=" joinExisting test on netcdf Grid granules using scan@ncoords" /> <attribute name="NC_GLOBAL" type="structure"> <attribute name="time_coverage_end" type="string">2006-02-01T00:00:00Z</attribute> <attribute name="time_coverage_start" type="string">2006-01-01T00:00:00Z</attribute> </attribute> <aggregation type="joinExisting" dimName="time"> <!-- Filenames imply lexicographic and chronological orderings match --> <scan location="/opendap/hyrax/coverage/mday" subdirs="false" suffix=".nc" ncoords="1" /> </aggregation> </netcdf>

Only to discover that this produces the follow cryptic error when I try to access the dataset:

1 2 3 4 5 6 7 8 9 10 <?xml version="1.0" encoding="ISO-8859-1"?> <response xmlns="http://xml.opendap.org/ns/bes/1.0#" reqID="[http-8090-2:31:bes_request]"> <getDDX> <BESError> <Type>3</Type> <Message>NCMLModule ParseError: at *.ncml line=9: Attempting to tokenize attribute value failed since we found an unknown internal DAP type=Structure for the current fully qualified attribute=</Message> <Administrator>support@opendap.org</Administrator> </BESError> </getDDX> </response>

Environment

None

Status

Assignee

Unassigned

Reporter

Nathan Potter

Labels

None

Story Points

None

Epic Link

Components

Priority