Gmljp2 output seems empty/broken.

Description

On my OS-X dev system, when I issue this BES command:

1 2 3 4 5 6 7 8 9 10 11 12 13 <bes:request xmlns:bes="http://xml.opendap.org/ns/bes/1.0#" reqID="[http-8080-1:27:bes_request]"> <bes:setContext name="xdap_accept">2.0</bes:setContext> <bes:setContext name="dap_explicit_containers">no</bes:setContext> <bes:setContext name="errors">xml</bes:setContext> <bes:setContext name="max_response_size">0</bes:setContext> <bes:setContainer name="catalogContainer" space="catalog">/data/nc/coads_climatology.nc</bes:setContainer> <bes:define name="d1" space="default"> <bes:container name="catalogContainer"> <bes:constraint>SST%5B5%5D%5B*%5D%5B*%5D</bes:constraint> </bes:container> </bes:define> <bes:get type="dods" definition="d1" returnAs="geotiff" /> </bes:request>

I get a geotiff file that's understood by UDig and I can make a picture of the geotiss on my screen (attached).

But when I issue this BES command:

1 2 3 4 5 6 7 8 9 10 11 12 13 <bes:request xmlns:bes="http://xml.opendap.org/ns/bes/1.0#" reqID="[http-8080-1:27:bes_request]"> <bes:setContext name="xdap_accept">2.0</bes:setContext> <bes:setContext name="dap_explicit_containers">no</bes:setContext> <bes:setContext name="errors">xml</bes:setContext> <bes:setContext name="max_response_size">0</bes:setContext> <bes:setContainer name="catalogContainer" space="catalog">/data/nc/coads_climatology.nc</bes:setContainer> <bes:define name="d1" space="default"> <bes:container name="catalogContainer"> <bes:constraint>SST%5B5%5D%5B*%5D%5B*%5D</bes:constraint> </bes:container> </bes:define> <bes:get type="dods" definition="d1" returnAs="jpeg2000" /> </bes:request>

I get back a jpeg2000 image (attached) that appears to be a uniform grey rectangle.

Environment

None

Status

Assignee

Slav Korolev

Reporter

Nathan Potter

Labels

None

Fix versions

None

Story Points

5

Priority

Medium