Fileout_netcdf returns empty response for dataset when no query is provided.

Description

The original support request:

Hello,

We are using Hyrax 1.14.0 docker image to serve our .nc files. Some of them will return 0 byte files if we click to "Get as NetCDF 3" or "Get as NetCDF 4" button, other buttons work. However, if we select several Variables (see picture attached), it works. It seems that is not data size problem because some other big files (>1 GB) still work well.

Could you please take a look into the attached nc file (3.5 MB) if you have a chance to figure out what happened?

Thanks,
Phuong

I downloaded the file and replicated this on my system and on test.opendap.org:
http://test.opendap.org/opendap/phuong/nwm.t00z.short_range.channel_rt.f001.conus.nc.html

So I think we need to understand why this happens and fix it if it's within our sphere of influence to do so.

Environment

None

Activity

Show:
James Gallagher
August 13, 2018, 3:52 PM

This may not be an issue any more, because it might have been fixed when I fixed a batch of memory issues a while back, but we need to check it out.

Nathan Potter
May 24, 2018, 10:22 PM
Edited

I looked at this briefly and I think there is more going on here. The DAP2 response (no query):

is broken. While the response is not empty it ends prematurely with:

Note the missing "; at the end of the message and the missing } at the end of the Error object.

Interestingly, the DAP4 data response:

Appears to be working correctly.

Done

Assignee

Slav Korolev

Reporter

Nathan Potter

Labels

None

Epic Link

Components

Sprint

None

Priority

Medium