This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Valentijn, I'll just inline the files below. By the way, the values of netcdf@location in these files assume the data file is in the same directory as the NcML files. You'll have to change that back to the URL your NcML file contained. Ethan Here's the first one: <?xml version="1.0" encoding="UTF-8"?> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2" location="etopo2_2006apr.nc"> <attribute name="title" value="ETOPO2 Global 2' Elevations" /> <variable name="x"> <attribute name="long_name" value="longitude" /> <attribute name="units" value="degrees_east" /> </variable> <variable name="y"> <attribute name="long_name" value="latitude" /> <attribute name="units" value="degrees_north" /> </variable> <variable name="z"> <attribute name="long_name" value="altitude" /> <attribute name="standard_name" value="altitude"/> <attribute name="units" value="meters" /> </variable> </netcdf> And here's the second one: <?xml version="1.0" encoding="UTF-8"?> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2" location="etopo2_2006apr.nc"> <dimension name="longitude" orgName="x" /> <dimension name="latitude" orgName="y" /> <attribute name="title" value="ETOPO2 Global 2' Elevations" /> <variable name="longitude" orgName="x" shape="longitude"> <attribute name="long_name" value="longitude" /> <attribute name="units" value="degrees_east" /> </variable> <variable name="latitude" orgName="y" shape="latitude"> <attribute name="long_name" value="latitude" /> <attribute name="units" value="degrees_north" /> </variable> <variable name="altitude" orgName="z" shape="latitude longitude"> <attribute name="long_name" value="altitude" /> <attribute name="standard_name" value="altitude"/> <attribute name="units" value="meters" /> <!-- Remove scale_factor and add_offset since original values are 1.0 and 0.0, respectively --> <remove type="attribute" name="scale_factor" /> <remove type="attribute" name="add_offset" /> </variable> </netcdf> Ticket Details =================== Ticket ID: TQX-759446 Department: Support THREDDS Priority: Normal Status: Closed