Closed ayushsingh01042003 closed 6 months ago
Hi @ChrisJohnNOAA I've raised the PR as instructed, please take a look if this works and let me know if otherwise.
@ChrisJohnNOAA That was careless on my part I completely overlooked the name parameter for attributes.add().
Just to make sure I understand the requested changes, The solution should look something like this?
String ncAttsName = ncAtts.getName();
Iterator it = ncAtts.iterator();
while (it.hasNext()) { //there is also a dods.dap.Attribute
Attribute att = (Attribute)it.next();
String name = att.getName();
attributes.add(name, getAttributePA(ncAttsName, att));
}
I think this should do it, I have pushed the changes, Can you have look at it?
Description
varName
was being incorrectly logged by being copied from theattribute
Fixes #119
Type of change