cdm/src/main/java/ucar/nc2/iosp/uamiv/UAMIVServiceProvider.java
public boolean isValidFile(RandomAccessFile raf) throws IOException {
    try {
      raf.order(RandomAccessFile.BIG_ENDIAN);
      raf.seek(0);
      raf.skipBytes(4);
      String test = raf.readString(40);
      return test.equals(EMISSIONS) || test.equals(AVERAGE) || test.equals(AIRQUALITY) || test.equals(INSTANT);
    } catch (IOException ioe) {
      return false;
    }
  }
public boolean isValidFile(RandomAccessFile raf) throws IOException {
    try {
      raf.order(RandomAccessFile.BIG_ENDIAN);
      raf.seek(0);
      raf.skipBytes(4);
      String test = raf.readString(40);
      return test.equals(EMISSIONS) || test.equals(AVERAGE) || test.equals(AIRQUALITY) || test.equals(INSTANT);
    } catch (IOException ioe) {
      return false;
    }
  }
Check if this is a valid file for this IOServiceProvider.

@param raf RandomAccessFile
@return true if valid.