cdm/src/main/java/ucar/nc2/dataset/conv/M3IOConvention.java
public static boolean isMine(NetcdfFile ncfile) {
    return (null != ncfile.findGlobalAttribute("XORIG"))
            && (null != ncfile.findGlobalAttribute("YORIG"))
            && (null != ncfile.findGlobalAttribute("XCELL"))
            && (null != ncfile.findGlobalAttribute("YCELL"))
            && (null != ncfile.findGlobalAttribute("NCOLS"))
            && (null != ncfile.findGlobalAttribute("NROWS"));

    // M3IOVGGridConvention - is this true for this class ??
    // return ncFile.findGlobalAttribute( "VGLVLS" ) != null && isValidM3IOFile_( ncFile );

  }
public static boolean isMine(NetcdfFile ncfile) {
    return (null != ncfile.findGlobalAttribute("XORIG"))
            && (null != ncfile.findGlobalAttribute("YORIG"))
            && (null != ncfile.findGlobalAttribute("XCELL"))
            && (null != ncfile.findGlobalAttribute("YCELL"))
            && (null != ncfile.findGlobalAttribute("NCOLS"))
            && (null != ncfile.findGlobalAttribute("NROWS"));

    // M3IOVGGridConvention - is this true for this class ??
    // return ncFile.findGlobalAttribute( "VGLVLS" ) != null && isValidM3IOFile_( ncFile );

  }
public static boolean isMine ( NetcdfFile ncfile ) { return ( null != ncfile . findGlobalAttribute ( "XORIG" ) ) && ( null != ncfile . findGlobalAttribute ( "YORIG" ) ) && ( null != ncfile . findGlobalAttribute ( "XCELL" ) ) && ( null != ncfile . findGlobalAttribute ( "YCELL" ) ) && ( null != ncfile . findGlobalAttribute ( "NCOLS" ) ) && ( null != ncfile . findGlobalAttribute ( "NROWS" ) ) ; // M3IOVGGridConvention - is this true for this class ?? // return ncFile.findGlobalAttribute( "VGLVLS" ) != null && isValidM3IOFile_( ncFile ); }
Do we think this is a M3IO file.

@param ncfile the NetcdfFile to test
@return true if we think this is a M3IO file.
Do we think this is a M3IO file .