Commit 1f73a891 authored by kuhan's avatar kuhan
Browse files

Delabole update

parent a401ef57
SITE_CODE,CHANNEL_ID,CHANNEL_NAME,MAST_ID,HEIGHT,SIGNAL_TYPE,MANUFACTURER,MODEL_SPEC,INSTR_TYPE,Model_Description
delabole,300518,dt_44_5,3043,5,tdif,skye,pt_sensor,term,Skye Instruments, Pt 100 sensor
delabole,300517,ta_05,3043,5,tabs,skye,pt_sensor,term,Skye Instruments, Pt 100 sensor
delabole,300516,wd33_m2,3044,33,d,vector instruments,w250p,vane,Wind vane
delabole,300515,wd44_m1,3043,44,d,vector instruments,w250p,vane,Wind vane
delabole,300512,ws10_m1,3043,10,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300514,ws10_m2,3044,10,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300511,ws20_m1,3043,20,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300510,ws33_m1,3043,33,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300513,ws33_m2,3044,33,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300509,ws44_m1,3043,44,s,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300528,poa01,30159,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300529,poa02,30160,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300530,poa03,30161,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300531,poa04,30162,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300532,poa05,30163,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300533,poa06,30164,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300534,poa07,30165,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300535,poa08,30166,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300536,poa09,30167,32,pow,unknown,power_converter,wtl,Unknown power converter
delabole,300537,poa10,30168,32,pow,unknown,power_converter,wtl,Unknown power converter
SITE_CODE,CHANNEL_ID,CHANNEL_NAME,MAST_ID,height,SIGNAL_TYPE,MAST_NO,mast_description,mast_height,instrument_manufacturer,instrument_spec,instrument_type,instrument_description
delabole,300518,dt_44_5,3043,5,tdif,1,NA,44,skye,pt_sensor,term,Skye Instruments, Pt 100 sensor
delabole,300517,ta_05,3043,5,tabs,1,NA,44,skye,pt_sensor,term,Skye Instruments, Pt 100 sensor
delabole,300516,wd33_m2,3044,33,d,2,NA,33,vector instruments,w250p,vane,Wind vane
delabole,300515,wd44_m1,3043,44,d,1,NA,44,vector instruments,w250p,vane,Wind vane
delabole,300512,ws10_m1,3043,10,s,1,NA,44,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300511,ws20_m1,3043,20,s,1,NA,44,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300510,ws33_m1,3043,33,s,1,NA,44,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300513,ws33_m2,3044,33,s,2,NA,33,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300509,ws44_m1,3043,44,s,1,NA,44,vector instruments,a100l2,cup,Low power Vector A100L2 anemometer
delabole,300528,poa01,30159,32,pow,1,WD34-wt01,32,NA,power_converter,wtl,NA
delabole,300529,poa02,30160,32,pow,2,WD34-wt02,32,NA,power_converter,wtl,NA
delabole,300530,poa03,30161,32,pow,3,WD34-wt03,32,NA,power_converter,wtl,NA
delabole,300531,poa04,30162,32,pow,4,WD34-wt04,32,NA,power_converter,wtl,NA
delabole,300532,poa05,30163,32,pow,5,WD34-wt05,32,NA,power_converter,wtl,NA
delabole,300533,poa06,30164,32,pow,6,WD34-wt06,32,NA,power_converter,wtl,NA
delabole,300534,poa07,30165,32,pow,7,WD34-wt07,32,NA,power_converter,wtl,NA
delabole,300535,poa08,30166,32,pow,8,WD34-wt08,32,NA,power_converter,wtl,NA
delabole,300536,poa09,30167,32,pow,9,WD34-wt09,32,NA,power_converter,wtl,NA
delabole,300537,poa10,30168,32,pow,10,WD34-wt10,32,NA,power_converter,wtl,NA
SELECT c.`SITE_CODE`, c.`CHANNEL_ID`, c.`CHANNEL_NAME`, c.`MAST_ID`, c.`HEIGHT` as `height`,
c.`SIGNAL_TYPE`, m.`MAST_NO`, m.`DESCRIPTION` as `mast_description`, m.`MAST_HEIGHT` as `mast_height`,
m1.`MANUFACTURER` as `instrument_manufacturer`, m1.`MODEL_SPEC` as `instrument_spec`, m1.`INSTR_TYPE` as `instrument_type`,
m1.`DESCRIPTION` as `instrument_description`
FROM `channels` c, `masts` m, `models` m1
WHERE
(c.`SITE_CODE` = 'delabole')
AND (c.`RESOURCE_DATA` = 'T')
AND (m.`MAST_ID` = c.`MAST_ID`)
AND (m1.`MODEL_ID` = c.`MODEL_ID`)
union
SELECT DISTINCT c.`SITE_CODE`, c.`CHANNEL_ID`, c.`CHANNEL_NAME`,
c.`WT_INDEX` AS Mast_id, c.`HEIGHT`as `height`, c.`SIGNAL_TYPE`, w.`TURBINE_NO` AS Mast_id,
w.`DESIGNATION` AS mast_description, c.`HEIGHT` AS mast_height, m.`MANUFACTURER` as `instrument_manufacturer`, m.`MODEL_SPEC` as `instrument_spec`,
m.`INSTR_TYPE` as `instrument_type`, m.`DESCRIPTION`as `instrument_description`
FROM `channels` c, `wind_turbines` w, `models` m
WHERE
(c.`SITE_CODE` = 'delabole')
AND (c.`TIME_SERIES` = 'F')
AND (c.`RESOURCE_DATA` = 'T')
AND (w.`WT_INDEX` = c.`WT_INDEX`)
AND (m.`MODEL_ID` = c.`MODEL_ID`);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment