cdm/src/main/java/ucar/nc2/dataset/NetcdfDatasetInfo.java
public static void main(String args[]) throws IOException {
    String url = "C:/data/badmodels/RUC_CONUS_80km_20051211_1900.nc";

    try (NetcdfDatasetInfo info = new NetcdfDatasetInfo(url)) {
      String infoString = info.writeXML();
      System.out.println(infoString);
    }
  }
public static void main(String args[]) throws IOException {
    String url = "C:/data/badmodels/RUC_CONUS_80km_20051211_1900.nc";

    try (NetcdfDatasetInfo info = new NetcdfDatasetInfo(url)) {
      String infoString = info.writeXML();
      System.out.println(infoString);
    }
  }
debug