Constants

climate_resilience.constants.geog_by_states(state: str) str

Returns geographical region based on the input state code.

Parameters

state (str) – State code.

Returns

Corresponding geographical region.

Return type

str

Raises

ValueError – In case the input state is not one of the valid state codes.

climate_resilience.constants.geog_by_states_code(state: str) int

Returns geographical region code based on the input state code.

Parameters

state (str) – State code.

Returns

Corresponding geographical region code.

Return type

str

Raises

ValueError – In case the input state is not one of the valid state codes.