iota2.common.i2_constants
Provides the Iota2Constants dataclass.
Functions
|
Add dunder methods based on the fields defined in the class. |
Classes
|
Define some constant values for iota2 runs. |
Hex codes for nodes' colors |
|
|
Constant values used with S1 processing |
- class iota2.common.i2_constants.Iota2Constants(i2_tasks_status_filename='IOTA2_tasks_status.txt', i2_builders_section='builders', re_encoding_label_name='i2label', tile_origin_field='tileorigin', re_encoding_label_file='reference_data.shp', i2_database_ext='nc', i2_segmentation_field_name='i2seg', i2_missing_dates_no_data=0.0, i2_missing_dates_no_data_mask=2.0, fake_class='split', sqlite_max_column=2000)[source]
Define some constant values for iota2 runs.
- __init__(i2_tasks_status_filename='IOTA2_tasks_status.txt', i2_builders_section='builders', re_encoding_label_name='i2label', tile_origin_field='tileorigin', re_encoding_label_file='reference_data.shp', i2_database_ext='nc', i2_segmentation_field_name='i2seg', i2_missing_dates_no_data=0.0, i2_missing_dates_no_data_mask=2.0, fake_class='split', sqlite_max_column=2000)
-
fake_class:
str= 'split'
-
i2_builders_section:
str= 'builders'
-
i2_database_ext:
str= 'nc'
-
i2_missing_dates_no_data:
float= 0.0
-
i2_missing_dates_no_data_mask:
float= 2.0
-
i2_segmentation_field_name:
str= 'i2seg'
-
i2_tasks_status_filename:
str= 'IOTA2_tasks_status.txt'
-
re_encoding_label_file:
str= 'reference_data.shp'
-
re_encoding_label_name:
str= 'i2label'
-
sqlite_max_column:
int= 2000
-
tile_origin_field:
str= 'tileorigin'
- class iota2.common.i2_constants.NodeColors[source]
Hex codes for nodes’ colors
- __init__()
- done_node_color = '#648FFF'
- fail_node_color = '#DC267F'
- unlaunchable_node_color = '#FFB000'
- class iota2.common.i2_constants.S1Constants(s1_window_radius=2, s1_ram_per_process=5000.0, s1_border_threshold=0.001, s1_temporal_res=10, s1_interp_method='linear')[source]
Constant values used with S1 processing
- __init__(s1_window_radius=2, s1_ram_per_process=5000.0, s1_border_threshold=0.001, s1_temporal_res=10, s1_interp_method='linear')
-
s1_border_threshold:
float= 0.001
-
s1_interp_method:
str= 'linear'
-
s1_ram_per_process:
float= 5000.0
-
s1_temporal_res:
int= 10
-
s1_window_radius:
int= 2