Skip to content

Commit

Permalink
cdm-radial: sigmet
Browse files Browse the repository at this point in the history
Fixes for change "PR feedback and cleanup" b89cf77
  • Loading branch information
michaeldiener committed Mar 12, 2024
1 parent b89cf77 commit d17603c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public ArrayList<Variable> init(RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile
builder.setDimensions(dims2).addAttribute(new Attribute(CDM.LONG_NAME, var_name))
.addAttribute(new Attribute(CDM.UNITS, unit[dty]))
.addAttribute(new Attribute(_Coordinate.Axes, "time elevationR azimuthR distanceR"));
v[j][jj] = builder.build(null);
v[j][jj] = builder.build(ncfile.getRootGroup());
ncfile.addVariable(null, v[j][jj]);
varList.add(v[j][jj]);
dims2.clear();
Expand Down Expand Up @@ -1065,7 +1065,7 @@ static DataType calcDataType(short dty, int bytes) {
if (bytes == 1)
return DataType.BYTE;

return DataType.OBJECT;
return DataType.OPAQUE;
}
}

Expand Down

0 comments on commit d17603c

Please sign in to comment.