Fileout_netcdf returns empty response for dataset when no query is provided.
The original support request:
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?
I downloaded the file and replicated this on my system and on test.opendap.org:
So I think we need to understand why this happens and fix it if it's within our sphere of influence to do so.
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.
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.