cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java
public java.util.Map<String, String> readStnNames(ucar.unidata.io.RandomAccessFile raf) {
    java.util.Map<String, String> hdrNames = new java.util.HashMap<String, String>();
    try {
      raf.seek(6288);
      String stnName = raf.readString(16);  //System.out.println(" stnName="+stnName.trim());
      raf.seek(6306);
      String stnName_util = raf.readString(16);
      hdrNames.put("StationName", stnName.trim());
      hdrNames.put("StationName_SetupUtility", stnName_util.trim());
    } catch (Exception e) {
      System.out.println(e.toString());
      e.printStackTrace();
    }
    return hdrNames;
  }
public java.util.Map<String, String> readStnNames(ucar.unidata.io.RandomAccessFile raf) {
    java.util.Map<String, String> hdrNames = new java.util.HashMap<String, String>();
    try {
      raf.seek(6288);
      String stnName = raf.readString(16);  //System.out.println(" stnName="+stnName.trim());
      raf.seek(6306);
      String stnName_util = raf.readString(16);
      hdrNames.put("StationName", stnName.trim());
      hdrNames.put("StationName_SetupUtility", stnName_util.trim());
    } catch (Exception e) {
      System.out.println(e.toString());
      e.printStackTrace();
    }
    return hdrNames;
  }
public java . util . Map < String , String > readStnNames ( ucar . unidata . io . RandomAccessFile raf ) { java . util . Map < String , String > hdrNames = new java . util . HashMap < String , String > ( ) ; try { raf . seek ( 6288 ) ; String stnName = raf . readString ( 16 ) ; //System.out.println(" stnName="+stnName.trim());
 raf . seek ( 6306 ) ; String stnName_util = raf . readString ( 16 ) ; hdrNames . put ( "StationName" , stnName . trim ( ) ) ; hdrNames . put ( "StationName_SetupUtility" , stnName_util . trim ( ) ) ; } catch ( Exception e ) { System . out . println ( e . toString ( ) ) ; e . printStackTrace ( ) ; } return hdrNames ; }
Read StationName strings
Read StationName strings