-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (70 loc) · 4.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python
import setuptools
setuptools.setup(
name='emeraldprocessing',
version='0.1.8',
description="""Processing tools for multi-sounding EM geophysical data""",
long_description="""Processing tools and and workflow for multi-sounding EM geophysical data.""",
long_description_content_type="text/markdown",
authors='Benjamin R. Bloss, Egil Möller, Martin Panzner',
url='https://github.com/emerald-geomodelling/emerald-processing-em',
packages=setuptools.find_packages(),
install_requires=[
"libaarhusxyz",
"matplotlib",
"geopandas",
"scipy",
"mercantile",
"requests",
"mapbox_vector_tile",
"nose2",
"pyyaml",
"rasterio",
"contextily",
"pydantic",
"projnames",
"python-slugify"
],
entry_points = {
'emeraldprocessing.pipeline_step': [
'Save intermediate results=emeraldprocessing.pipeline:save_intermediate',
'Use manual edits=emeraldprocessing.diff:apply_diff',
# Corrections:
'Classify high altitude flightlines: Auto=emeraldprocessing.tem.corrections:auto_classify_high_altitude_flightlines',
'Classify flightlines: Selection=emeraldprocessing.tem.corrections:classify_flightlines',
'Select flightlines=emeraldprocessing.tem.corrections:select_lines',
'Select flight-types=emeraldprocessing.tem.corrections:select_flight_types',
'Correct altitude and topo=emeraldprocessing.tem.corrections:correct_altitude_and_topo',
'Correct data and tilt for 1D=emeraldprocessing.tem.corrections:correct_data_tilt_for1D',
'Moving average filter=emeraldprocessing.tem.corrections:moving_average_filter',
'STD error: Add fractional error=emeraldprocessing.tem.corrections:add_std_error',
'STD error: Replace from GEX=emeraldprocessing.tem.corrections:add_replace_gex_std_error',
'Copy Column=emeraldprocessing.tem.corrections:copy_column',
'Copy Data=emeraldprocessing.tem.corrections:copy_data',
'Rename Column=emeraldprocessing.tem.corrections:rename_column',
'Rename Data=emeraldprocessing.tem.corrections:rename_data',
# Cullings:
'Drop Column=emeraldprocessing.tem.culling:drop_column',
'Drop Data=emeraldprocessing.tem.culling:drop_data',
'Apply gex=emeraldprocessing.tem.culling:apply_gex',
'Enable/Disable gates by index=emeraldprocessing.tem.culling:enable_disable_time_gate',
'Disable soundings by tilt and altitude=emeraldprocessing.tem.culling:cull_roll_pitch_alt',
'Disable soundings by number of active gates=emeraldprocessing.tem.culling:cull_soundings_with_too_few_gates',
'Disable gates by STD values=emeraldprocessing.tem.culling:cull_std_threshold',
'Disable gates by slope max=emeraldprocessing.tem.culling:cull_max_slope',
'Disable gates by slope min=emeraldprocessing.tem.culling:cull_min_slope',
'Disable gates by curvature max=emeraldprocessing.tem.culling:cull_max_curvature',
'Disable gates by curvature min=emeraldprocessing.tem.culling:cull_min_curvature',
'Disable gates by noise floor=emeraldprocessing.tem.culling:cull_below_noise_level',
'Disable gates by geometry=emeraldprocessing.tem.culling:cull_on_geometry',
'Disable gates by geometry and misfit=emeraldprocessing.tem.culling:cull_on_geometry_and_inversion_misfit',
'Disable gates by negative data=emeraldprocessing.tem.culling:cull_negative_data',
# System Bias:
# FIXME: as is 'Subtract System Bias' cannot run without having built the system_response yaml first./
# Need to incorporate the yaml building here first./
# https://github.com/emerald-geomodelling/EmeraldProcessing/tree/40515c839524eae748db3db5d279b747df87de30/notebooks/TEM/EstimateSystemBias
# 'Subtract System Bias=emeraldprocessing.tem.system_bias:subtract_system_bias',
],
}
)