Skip to content
Snippets Groups Projects
Commit 783ce0ae authored by Tobias Machnitzki's avatar Tobias Machnitzki
Browse files

Version 1.5 -- Renamed CORAL

parent f403d10f
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -66,7 +66,7 @@ Ceilometer = nc.variables['Ceilometer'][:].copy().astype(float) * height
HATPRO = nc.variables['HATPRO'][:].copy().astype(float) * height
KIT = nc.variables['KIT'][:].copy().astype(float) * height
KATRIN = nc.variables['KATRIN'][:].copy().astype(float) * height
MBR2 = nc.variables['MBR2'][:].copy().astype(float) * height
CORAL = nc.variables['CORAL'][:].copy().astype(float) * height
MRR = nc.variables['MRR'][:].copy().astype(float) * height
WindLidar = nc.variables['WindLidar'][:].copy().astype(float) * height
# RamanLidar = nc.variables['RamanLidar'][:].copy().astype(float)*height
......@@ -79,8 +79,8 @@ BCOHAT = nc.variables['BCOHAT'][:].copy().astype(float) * height
# creating lists for easy acces within loops:
# !!!! BOTH LISTS HAVE TO HAVE THE SAME ORDER OF DEVICES !!!!
Devices = [Allsky, WxSensor, Radiation, Disdro, HATPRO,BCOHAT, KIT, KATRIN, MBR2, MRR, Ceilometer, WindLidar, EARLI, LICHT]
Devices_names = ['Allsky', 'Weather', 'Radiation', 'Disdro', 'HATPRO','BCOHAT', 'KIT', 'KATRIN', 'MBR2', 'MRR', 'Ceilometer',
Devices = [Allsky, WxSensor, Radiation, Disdro, HATPRO,BCOHAT, KIT, KATRIN, CORAL, MRR, Ceilometer, WindLidar, EARLI, LICHT]
Devices_names = ['Allsky', 'Weather', 'Radiation', 'Disdro', 'HATPRO','BCOHAT', 'KIT', 'KATRIN', 'CORAL', 'MRR', 'Ceilometer',
'WindLidar', 'EARLI', 'LICHT']
# appending zeros for nicer plotting:
......@@ -101,7 +101,7 @@ colors = dict(
BCOHAT='#7D0D59',
KIT='#7896E8',
KATRIN='#396EFE',
MBR2='#013EE4',
CORAL='#013EE4',
MRR='#143AA3',
Ceilometer='#B5E195',
WindLidar='#82CD4C',
......@@ -117,7 +117,7 @@ source = ColumnDataSource(
HATPRO=Devices[Devices_names.index('HATPRO')],
KIT=Devices[Devices_names.index('KIT')],
KATRIN=Devices[Devices_names.index('KATRIN')],
MBR2=Devices[Devices_names.index('MBR2')],
CORAL=Devices[Devices_names.index('CORAL')],
MRR=Devices[Devices_names.index('MRR')],
WindLidar=Devices[Devices_names.index('WindLidar')],
# RamanLidar=RamanLidar,
......
......@@ -33,7 +33,7 @@ NC_NAME = 'Availability.nc'
NC_PATH = ""
# Define Paths:
MBR2_path = "/pool/OBS/BARBADOS_CLOUD_OBSERVATORY/Level_0/16_Cloud_radar_MBR2/"
CORAL_path = "/pool/OBS/BARBADOS_CLOUD_OBSERVATORY/Level_0/16_Cloud_radar_MBR2/"
WindLidar_path = "/pool/OBS/BARBADOS_CLOUD_OBSERVATORY/Level_0/15_Wind_lidar/Proc/"
Allsky_path = "/pool/OBS/BARBADOS_CLOUD_OBSERVATORY/Level_0/1_Allskyimager/data/"
Ceilometer_path = "/pool/OBS/ACPC/Ceilometer/"
......@@ -90,7 +90,7 @@ Ceilometer = Device('Ceilometer', 'Ceilometer', Ceilometer_path)
HATPRO = Device('HATPRO', 'Microwave Radiometer HATPRO', HATPRO_path)
KIT = Device('KIT', 'Cloud Radar KIT', KIT_path)
KATRIN = Device('KATRIN', 'Cloud Radar KATRIN', KATRIN_path)
MBR2 = Device('MBR2', 'Cloud Radar MBR2', MBR2_path)
CORAL = Device('CORAL', 'Cloud Radar CORAL', CORAL_path)
MRR = Device('MRR', 'Micro Rain Radar MRR', MRR_path2)
WindLidar = Device('WindLidar', 'Wind Lidar', WindLidar_path)
RamanLidar = Device('RamanLidar', 'Raman Lidar', RamanLidar_path)
......@@ -176,11 +176,11 @@ async def get_availability(start_date, end_date):
else:
KIT._AvailabilityAppend(0)
# Check for MBR2:
if os.path.isdir(MBR2_path + date_str):
MBR2._AvailabilityAppend(1)
# Check for CORAL:
if os.path.isdir(CORAL_path + date_str):
CORAL._AvailabilityAppend(1)
else:
MBR2._AvailabilityAppend(0)
CORAL._AvailabilityAppend(0)
# Check for MRR:
MRR_file1 = glob.glob(MRR_path1 + year_str + month_str + "/" + month_str + day_str + ".*")
......
......@@ -13,7 +13,7 @@ if (button == "Disdro") {page="http://bcoweb.mpimet.mpg.de/quicklooks/disdromete
if (button == "HATPRO") {page=""}
if (button == "KIT") {page="NOT RUNNING"}
if (button == "KATRIN") {page="NOT RUNNING"}
if (button == "MBR2") {page="http://bcoweb.mpimet.mpg.de/quicklooks/mbr2ql/MBR2_QL.png"}
if (button == "CORAL") {page="http://bcoweb.mpimet.mpg.de/quicklooks/mbr2ql/MBR2_QL.png"}
if (button == "MRR") {page="http://bcoweb.mpimet.mpg.de/quicklooks/mrr-bco/mrr_yesterday.png"}
if (button == "Ceilometer") {page="http://bcoweb.mpimet.mpg.de/quicklooks/ceilometer/ceilo_ql.png"}
if (button == "WindLidar") {page="http://bcoweb.mpimet.mpg.de/quicklooks/windlidar/wl_yesterday.png"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment