Added low prio mode for merger
This commit is contained in:
parent
bf7c34c834
commit
a47c8b95d0
1 changed files with 6 additions and 5 deletions
|
|
@ -268,13 +268,14 @@ def hsl_to_rgb(img):
|
|||
|
||||
|
||||
def generate_composite(work_queue, result_queue):
|
||||
lowpriority()
|
||||
image_names = ["094A", "131A", "171A", "195A", "284A", "304A"]
|
||||
cmaps =[palettable.cmocean.sequential.Ice_5.mpl_colormap,
|
||||
palettable.cmocean.sequential.Ice_20.mpl_colormap,
|
||||
palettable.cmocean.sequential.Turbid_5_r.mpl_colormap,
|
||||
palettable.cmocean.sequential.Turbid_20_r.mpl_colormap,
|
||||
plt.cm.get_cmap('gist_heat'),
|
||||
plt.cm.get_cmap('afmhot')]
|
||||
plt.colormaps.get_cmap('gist_heat'),
|
||||
plt.colormaps.get_cmap('afmhot')]
|
||||
# Modify colormaps to start at perfect black (when they otherwise start at very dark colors)
|
||||
for cmi in range(0,4):
|
||||
for c in ['red','green','blue']:
|
||||
|
|
@ -423,11 +424,11 @@ if __name__ == "__main__":
|
|||
processed_images_dirs = [r"..\composite\goes16", r"..\composite\goes18"]
|
||||
|
||||
regex_filename = r"dr_suvi-l2-ci\d{3}_g(16|18)_s\S*\.fits"
|
||||
nworkers = 14
|
||||
nworkers = 20
|
||||
|
||||
# Testing
|
||||
# stored_fits_dirs = [r"C:\NOAA_SOLAR_IMAGES\fits_test_2024"]
|
||||
# processed_images_dirs = [r"C:\NOAA_SOLAR_IMAGES\composite"]
|
||||
# stored_fits_dirs = [r"..\fits_test_2024"]
|
||||
# processed_images_dirs = [r"..\composite"]
|
||||
|
||||
work_queue = Queue(maxsize = nworkers)
|
||||
result_queue = Queue()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue