cdm/src/main/java/ucar/nc2/NetcdfFile.java
static public boolean iospDeRegister(Class iospClass) {
      for (int i=0;i<registeredProviders.size();i++) {
        IOServiceProvider spi = registeredProviders.get(i);
        if (spi.getClass() == iospClass) {
          registeredProviders.remove(i);
          return true;
        }
      }
      return false;
  }
static public boolean iospDeRegister(Class iospClass) {
      for (int i=0;i<registeredProviders.size();i++) {
        IOServiceProvider spi = registeredProviders.get(i);
        if (spi.getClass() == iospClass) {
          registeredProviders.remove(i);
          return true;
        }
      }
      return false;
  }
See if a specific IOServiceProvider is registered and if so, remove it.

@param iospClass Class for which to search  and remove
@return true if class was present