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 .