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

Issues remain in the Aggregation rename fix...

Description

Test 101 of the NCML handler's regression tests show the following error:

[nori:tests jimg$] besstandalone -c bes.conf -i test_101.bescmd | more

1 2 3 4 5 6 7 8 9 10 11 12 13 14 <?xml version="1.0" encoding="ISO-8859-1"?> <response reqID="some_unique_value" xmlns="http://xml.opendap.org/ns/bes/1.0#"> <getDODS> <BESError> <Type>3</Type> <Message>libdap error transmitting DataDDS: The Array was already projected differently in the constraint expression: precipitate.</Message> <Administrator>admin.email.address@your.domain.name</Administrator> <Location> <File>BESDapTransmit.cc</File> <Line>88</Line> </Location> </BESError> </getDODS> </response>

Here's what's in the test_101.bescmd (the ncml tests automatically generate the test.bescmd files, but errant tests save them in testsuite.dir/101/, ... and I copied it out and will attach it here):

1 2 3 4 5 6 7 8 9 <?xml version="1.0" encoding="UTF-8"?> <request reqID="some_unique_value" > <setContext name="dap_format">dap2</setContext> <setContainer name="c" space="catalog">/data/ncml/var_orgName_Structure.ncml</setContainer> <define name="d"> <container name="c"><constraint> DataGranule.PlanetaryGrid.precipitate[0][179][0:79] </constraint></container> </define> <get type="dods" definition="d" /> </request>

And here's the NcML file (_ ../data/ncml/var_orgName_Structure.ncml_)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <?xml version="1.0" encoding="UTF-8"?> <netcdf location="data/ncml/3B42.001003.5.HDF"> <!-- Rename the top level Structure to test Structure name changes --> <variable name="DataGranule" orgName="DATA_GRANULE" type="Structure"> <!-- Test adding attribute to a renamed variable --> <attribute name="NewAttrib" type="String"> Make sure we can add to renamed variable! </attribute> <!-- Then traverse the existing Structure --> <variable name="PlanetaryGrid" type="Structure"> <!-- Finally, rename the variable to spell it correctly --> <variable name="precipitate" orgName="percipitate"> </variable> </variable> </variable> </netcdf>

Test 97 shows a different, but almost certainly related error:

Here's the bescmd (also attached; test_97.bescmd)

1 2 3 4 5 6 7 8 9 <?xml version="1.0" encoding="UTF-8"?> <request reqID="some_unique_value" > <setContext name="dap_format">dap2</setContext> <setContainer name="c" space="catalog">/data/ncml/var_orgName_Structure.ncml</setContainer> <define name="d"> <container name="c"><constraint> DataGranule.PlanetaryGrid.precipitate </constraint></container> </define> <get type="dods" definition="d" /> </request>

The response _ besstandalone -c $abs_builddir/bes.conf -i ./test.bescmd_

Note that there are two variables in the response.

1 2 3 4 5 6 7 8 9 10 11 12 13 stderr: stdout: Dataset { Structure { Structure { Float32 relError[scan = 1][longitude = 360][latitude = 80]; Float32 precipitate[scan = 1][longitude = 360][latitude = 80]; } PlanetaryGrid; } DataGranule; } var_orgName_Structure.ncml; Data: ^@^@p<80>^@^@p<80>=<AF><F8><8D>=<AF><F8><8D>=<AF><F8><8D>>^Y<DE><C5>?^Q<EA>Z?L^R<EB>>p<AD><D8>><9F>e ...

The response should only have one (see the baseline here baselines/var_orgName_Structure_constraint_1.ncml)

1 2 3 4 5 6 7 Dataset { Structure { Structure { Float32 precipitate[scan = 1][longitude = 360][latitude = 80]; } PlanetaryGrid; } DataGranule; } var_orgName_Structure.ncml;

Environment

None

Status

Assignee

James Gallagher

Reporter

James Gallagher

Labels

None

Story Points

None

Epic Link

Components

Sprint

None

Priority

Medium