Transect-mesh region mapping#
FEAT survey-specific spatial parameter definitions.
Provides year- and region-specific transect boundary functions that encode the spatial configuration of NWFSC hake survey regions, used for mesh cropping and transect classification across survey years.
- echopop.utils.feat_parameters.transect_mesh_region_1995(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 1995 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 1995 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_1998(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 1998 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 1998 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2001(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2001 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2001 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2003(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2003 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2003 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2005(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2005 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2005 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2007(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2007 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2007 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2009(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2009 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2009 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2011(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2011 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2011 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2012(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2012 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2012 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2013(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2013 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2013 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2015(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2015 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2015 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2017(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2017 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2017 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]
- echopop.utils.feat_parameters.transect_mesh_region_2019(region: number) tuple[number, number, list[number], list[number]]#
Generate region-specific transect boundaries for the 2019 NWFSC survey.
This function defines the spatial boundaries for three distinct survey regions used in the 2019 Northwest Fisheries Science Center (NWFSC) survey. Each region has specific transect numbering schemes and boundary definitions.
- Parameters:
- regionnp.number
Region identifier (1, 2, or 3):
Region 1: Parallel transects to latitudes from south of SCB to west of Haida Gwaii
Region 2: Transects parallel to longitudes north of Haida Gwaii
Region 3: Parallel transects to latitudes west of Haida Gwaii
- Returns:
- Tuple[np.number, np.number, List[np.number], List[np.number]]
A tuple containing:
transect_start (np.number): Starting transect number for the region
transect_end (np.number): Ending transect number for the region
transect_lower_bound (List[np.number]): Lower boundary values for each transect
transect_upper_bound (List[np.number]): Upper boundary values for each transect
Notes
The boundary values are encoded with decimal places that indicate spatial positions:
.1 indicates western boundary (for regions 1 and 3)
.4 indicates eastern boundary (for regions 1 and 3)
.6 indicates southern boundary (for region 2)
.9 indicates northern boundary (for region 2)
Examples
>>> start, end, lower, upper = transect_mesh_region_2019(1) >>> print(f"Region 1: transects {start} to {end}") Region 1: transects 1 to 119 >>> print(f"Lower bounds: {lower[:3]}") # First 3 values Lower bounds: [1.1, 2.1, 3.1]