def _load_dataset_area(self, dsid, file_handlers, coords):
        """Get the area for *dsid*."""
        try:
            return self._load_area_def(dsid, file_handlers)
        except NotImplementedError:
            if any(x is None for x in coords):
                logger.warning(
                    "Failed to load coordinates for '{}'".format(dsid))
                return None

            area = self._make_area_from_coords(coords)
            if area is None:
                logger.debug("No coordinates found for %s", str(dsid))
            return area
def _load_dataset_area ( self , dsid , file_handlers , coords ) : try : return self . _load_area_def ( dsid , file_handlers ) except NotImplementedError : if any ( x is None for x in coords ) : logger . warning ( "Failed to load coordinates for '{}'" . format ( dsid ) ) return None area = self . _make_area_from_coords ( coords ) if area is None : logger . debug ( "No coordinates found for %s" , str ( dsid ) ) return area
Get the area for *dsid*.