Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

variable attributes showing up in OPeNDAP global attributes! #1294

Closed
rsignell-usgs opened this issue Jun 18, 2019 · 8 comments
Closed

variable attributes showing up in OPeNDAP global attributes! #1294

rsignell-usgs opened this issue Jun 18, 2019 · 8 comments

Comments

@rsignell-usgs
Copy link
Contributor

This is pretty crazy, but if you take this netcdf file and put it on THREDDS (I've tried the most recent version 4.6.13 (latest) and 4.6.11 (circa 2017)), the variable attributes from the variable called error show up in the global attributes on OPeNDAP (as well as in the variable attributes)!

It's pretty goofy to have _FillValue and long_name showing up in the global attributes!

https://rsignell-test.whoi.edu/thredds/dodsC/silt/usgs/Projects/stellwagen/CF-1.6new/MATANZAS_18/11102sigs_burst-cal.nc.html

2019-06-18_13-52-14

@DennisHeimbigner
Copy link
Contributor

Can you post the .dds and .das that opendap generates for this file?

@DennisHeimbigner
Copy link
Contributor

Actually no, I just meant what you sent, thanks. My hypothesis is that
the problem is occurring in the translation from .nc to .dds and .das.
So I thought I would start by looking at those.

@DennisHeimbigner
Copy link
Contributor

When I look at that url with the netcdf-c ncdump, it looks ok to me.
What are you using to view it? ToolsUI?

@rsignell-usgs
Copy link
Contributor Author

@rsignell-usgs
Copy link
Contributor Author

The problem was caused by the variable called error in the NetCDF file. If we rename that to something else, the problem goes away.

@DennisHeimbigner
Copy link
Contributor

I was looking at that. The opendap code has a number of reserved names that
it uses to pass non-standard information. Apparently "error" is one one of those,
but I had had no luck finding it yet.

@rsignell-usgs
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants