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.
On 6/14/2010 4:31 PM, Rich Signell wrote:
John, Wasn't there a way to remove the attribute from all variables?
no, you have to name each variable seperately
I tried to remove the attribute "field" from all variables thusly and it didn't work: <?xml version="1.0" encoding="UTF-8"?> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> <remove type="attribute" name="field"/>
this would only remove a global attribute
<aggregation dimName="ocean_time" type="joinExisting"> <scan location="c:/rps/cf/roms" regExp=".*vs_his_00(01|02)\.nc$"/> </aggregation> </netcdf>