From bbe44d95774bb89c3aab7d8a1a92f5eca9199864 Mon Sep 17 00:00:00 2001 From: AlexKurek Date: Sun, 21 Jul 2024 18:07:10 +0200 Subject: [PATCH] Remove unused modules --- post_processing/convert_full3d_to_nc.py | 1 - post_processing/plot_AZ_Avgs.py | 1 - post_processing/plot_Equatorial_Slices.py | 2 +- post_processing/plot_Meridional_Slices.py | 2 -- post_processing/plot_Shell_Slices.py | 1 - tests/chi_scalar/test_output.py | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/post_processing/convert_full3d_to_nc.py b/post_processing/convert_full3d_to_nc.py index 0695632f..4fd8512f 100755 --- a/post_processing/convert_full3d_to_nc.py +++ b/post_processing/convert_full3d_to_nc.py @@ -24,7 +24,6 @@ # Converts Spherical_3D output to netCDF files for visualization in ParaView # and other software. -import sys import os import argparse import glob diff --git a/post_processing/plot_AZ_Avgs.py b/post_processing/plot_AZ_Avgs.py index 83dd9097..e60a4ae9 100644 --- a/post_processing/plot_AZ_Avgs.py +++ b/post_processing/plot_AZ_Avgs.py @@ -59,7 +59,6 @@ from rayleigh_diagnostics import AZ_Avgs, build_file_list, plot_azav, streamfunction import matplotlib.pyplot as plt -import pylab import numpy #from azavg_util import * files = build_file_list(30000,40000,path='AZ_Avgs') diff --git a/post_processing/plot_Equatorial_Slices.py b/post_processing/plot_Equatorial_Slices.py index 667f229d..c72878b0 100644 --- a/post_processing/plot_Equatorial_Slices.py +++ b/post_processing/plot_Equatorial_Slices.py @@ -55,7 +55,7 @@ from rayleigh_diagnostics import Equatorial_Slices import numpy import matplotlib.pyplot as plt -from matplotlib import ticker, font_manager +from matplotlib import ticker istring = '00040000' es = Equatorial_Slices(istring) tindex =1 # Grab second time index from this file diff --git a/post_processing/plot_Meridional_Slices.py b/post_processing/plot_Meridional_Slices.py index b407b09d..9b3690a9 100644 --- a/post_processing/plot_Meridional_Slices.py +++ b/post_processing/plot_Meridional_Slices.py @@ -60,9 +60,7 @@ ##################################### # Meridional Slice from rayleigh_diagnostics import Meridional_Slices, plot_azav -import numpy import matplotlib.pyplot as plt -from matplotlib import ticker, font_manager # Read the data istring = '00040000' diff --git a/post_processing/plot_Shell_Slices.py b/post_processing/plot_Shell_Slices.py index e2d2bd2c..0e44be88 100644 --- a/post_processing/plot_Shell_Slices.py +++ b/post_processing/plot_Shell_Slices.py @@ -67,7 +67,6 @@ from rayleigh_diagnostics import Shell_Slices import numpy as np import matplotlib.pyplot as plt -from matplotlib import ticker, font_manager # Read the data istring = '00040000' diff --git a/tests/chi_scalar/test_output.py b/tests/chi_scalar/test_output.py index 65c5c7cf..8e4c13c5 100644 --- a/tests/chi_scalar/test_output.py +++ b/tests/chi_scalar/test_output.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 from rayleigh_diagnostics import G_Avgs, build_file_list -from rayleigh_spectral_input import SpectralInput, radial_extents import numpy as np import os import sys