csep.core.regions.california_relm_region

csep.core.regions.california_relm_region(dh_scale=1, magnitudes=None, name='relm-california')[source]

Returns class representing California testing region.

This region can be used to create gridded datasets for earthquake forecasts. The XML file appears to use the midpoint, and the .dat file uses the origin in the “lower left” corner.

Parameters

dh_scale – can resample this grid by factors of 2

Returns

csep.core.spatial.CartesianGrid2D

Raises

ValueError – dh_scale must be a factor of two