Clean up cli

develop
Chris Leaman 6 years ago
parent 79d46c0433
commit a6ab8b8354

@ -2,18 +2,17 @@
Entry point to run data processing and analysis commands.
"""
# Disable numpy warnings
import warnings
import click
import data.parse_mat as parse_mat
import data.parse_shp as profile_features
import data.csv_to_shp as csv_to_shp
import analysis.forecast_twl as forecast_twl
import analysis.forecasted_storm_impacts as forecasted_storm_impacts
import analysis.observed_storm_impacts as observed_storm_impacts
import data.apply_manual_overwrites as apply_manual_overwrites
# Disable numpy warnings
import warnings
import data.csv_to_geojson as csv_to_geojson
import data.parse_mat as parse_mat
warnings.simplefilter(action="ignore", category=FutureWarning)
@ -24,14 +23,16 @@ def cli():
if __name__ == "__main__":
cli.add_command(parse_mat.create_waves_csv)
cli.add_command(parse_mat.create_sites_and_profiles_csv)
cli.add_command(parse_mat.create_tides_csv)
cli.add_command(parse_mat.create_profile_features)
# cli.add_command(profile_features.create_profile_features)
cli.add_command(csv_to_shp.sites_csv_to_geojson)
cli.add_command(apply_manual_overwrites.apply_profile_features_overwrite)
cli.add_command(csv_to_geojson.impacts_to_geojson)
cli.add_command(csv_to_geojson.profile_features_to_geojson)
cli.add_command(csv_to_geojson.R_high_to_geojson)
cli.add_command(csv_to_geojson.sites_csv_to_geojson)
cli.add_command(forecast_twl.create_twl_forecast)
cli.add_command(forecasted_storm_impacts.create_forecasted_impacts)
cli.add_command(observed_storm_impacts.create_observed_impacts)
cli.add_command(apply_manual_overwrites.apply_profile_features_overwrite)
cli.add_command(parse_mat.create_profile_features)
cli.add_command(parse_mat.create_sites_and_profiles_csv)
cli.add_command(parse_mat.create_tides_csv)
cli.add_command(parse_mat.create_waves_csv)
cli()

Loading…
Cancel
Save