/** * Returns the domain of validity declared by the netCDF projection, or {@code null} if none. * * @see ucar.unidata.geoloc.ProjectionImpl#getDefaultMapAreaLL() */ @Override public Extent getDomainOfValidity() { final LatLonRect domain = ProjectionAdapter.factory(projection).getDefaultMapAreaLL(); if (domain != null) { return new SimpleGeographicBoundingBox( domain.getLonMin(), domain.getLonMax(), domain.getLatMin(), domain.getLatMax()); } return null; }