;$Id:$ ;+ ; NAME: ; WCR2CONF_PLOWS09 ; ; PURPOSE: ; Returns experiment specific WCR2 configuration structure with ; information about the radar installation and calibration parameters ; ; This is user supplied function and is used in conjunction with ; loadwcr2conf.pro function. ; ; CATEGORY: ; wcr2tools ; ; CALLING SEQUENCE: ; wcr2conf=wcr2conf_plows09() ; ; INPUTS: ; ; KEYWORD PARAMETERS: ; ; OUTPUTS: ; ; NOTES: ; The function returns wcr2conf named structure (for description of the ; wcr2conf see wcr2conf__define.pro). ;- ; MODIFICATION HISTORY: ; Written by: Samuel Haimov, Feb 2010 ; S.H., Feb 11 - added beamids tag; change ant/beam n/a from -1 to -9 ; ; Copyright (C) 2007-present, Samuel Haimov, Dept. of Atmos. Sci., University ; of Wyoming. This software may be used, copied, or redistributed as long as ; it is not sold and this copyright notice is reproduced on each copy made. ; This routine is provided as is without any expressed or implied warranties ; whatsoever. Other limitations apply as described in the WCR2TOOLS Readme file. FUNCTION wcr2conf_plows09 ; ------------------------------------------------------------------------------ ; Initialize wcr2conf named structure ; ------------------------------------------------------------------------------ conf = {wcr2conf} ; ------------------------------------------------------------------------------ ; Assign WCR2 configuration parameters that may change for each experiment ; ------------------------------------------------------------------------------ ; ............................................................................ ; The following parameters are ordered according to the DAQ port IDs ; Copol-crosspol port pairs according to the current EMS truth table: ; H1-V1 - currently not a valid pair (V1 port not used)) ; H2-V2 - currently not a valid pair (single-pol down antenna V2 and ; single-pol down-slant antenna H2) ; H1-V3 - not a valid pair (single-pol up antenna H1, V3 port not used) ; PortID (PID): 0 1 2 3 4 ; EMS PortLabel: 5 3 1 4 2 ; Port names: 'H1' 'V1' 'V3' 'H2' 'V2' ; AntennaID: 1 1 3 4 2 ; ............................................................................ ;N130AR Ant.: 15"Dish None None 12"Horn 12"Horn conf.antap =[ 0.381, 0.00, 0.00, 0.305, 0.305 ];[m], apperture conf.antbw =[ 0.63, 0.00, 0.00, 0.78, 0.78 ];[deg], beamwidth conf.antff =[ 91.0, 0.0, 0.0, 60.0, 60.0 ];[m], far field ; AntennaID; enter -9 if the port is terminated; ATTEN: 0 is reserved for use ; with N2UW side/up antenna mirror and cannot be used as antenna ID: ; for more read comments for mirrorids tag ; N130AR conf.antids =[ 1, -9, -9, 4, 2 ];antenna IDs conf.beamids=[ 1, -9, -9, 4, 2 ];antenna IDs ; Antenna names/strings 'up', 'side', down', 'down-' are reserved words and ; are used in other WCR2 related files/programs ; (e.g., wcr2prototype, wcr2plotnc, plotwcr2qa) ; N130AR conf.antstr =['up', 'none', 'none', 'down-aft', 'down'] ; ............................................................................ ; ATTENTION: Antenna/Beam assignments ; Antenna/Beam position and unit vectors; position/pointing angles in AC ; coordinates.(3,5) array with the second index loosely matching the portID. ; The port match is a bit confusing. This is because for N2UW I use port 0 ; index to define the SIDE beam vector and port 1 index for the UP beam ; vector (controlled by external mirror), while they are designated to ; represent h-pol and v-pol ports for the N2UW single side/up antenna. For ; N130AR the up antenna is connected to port 0 and index 0 is used for UP ; beam, but UP beam ID is still 1. ; Antenna position for N130AR PID conf.antpos =[[-11.67,-0.56,-3.29], $ ; 0: up antenna [ 0.00, 0.00, 0.00], $ ; 1: no antenna [ 0.00, 0.00, 0.00], $ ; 2: no antenna [-16.55,-0.35,-1.87], $ ; 3: down-aft antenna. [-16.64,-0.32,-2.32]] ; 4: down antenna ; Antenna beam vectors for N130AR (from ICEL07) ; use -9. x-component for antennas/beams not used or not available conf.beamcaldate=20100209 ; H2 ICE-L,V2 new PLOWS, H1 ICE-L ; ICE-L Up[deg] 87.50 90.00 177.50 conf.beams =[[ 0.0436195, 0.0, -0.9990482], $ ; 0: up beam [-9.0, 0.0, 0.0 ], $ ; 1: no antenna [-9.0, 0.0, 0.0 ], $ ; 2: no antenna ; ICE-L Aft[deg] 125.25 89.37 35.25 [-0.5771, 0.011, 0.8166 ], $ ; 3: down-aft beam ; PLOWS Down[deg] 91.80 , 90.00, 1.80 [-0.0314108, 0.00, 0.999507]] ; 4: down beam ; ............................................................................ ; Calib. coeffs:[co-pol,cr-pol,cr-pol-iso] for every PORT ; N130AR ; conf.calpwrdate=20090219 ; accounts for H-receiver gain problem conf.calpwrdate=20091216 ; conf.calpwr =[[ 48.5,-999.0,-999.0], $ ; PID=0: up antenna Tx h-pol conf.calpwr =[[ 46.0,-999.0,-999.0], $ ; PID=0: up antenna Tx h-pol [-999.0,-999.0,-999.0], $ ; PID=1: no antenna [-999.0,-999.0,-999.0], $ ; PID=2: no antenna ; [ 43.0,-999.0,-999.0], $ ; PID=3: down-aft antenna h-pol [ 40.5,-999.0,-999.0], $ ; PID=3: down-aft antenna h-pol [ 39.5,-999.0,-999.0]] ; PID=4: down antenna h-pol ; ............................................................................ ; Tx PID: 0 1 2 3 4 conf.portstr =['H1','V1','V3','H2','V2'] ; Tx port names conf.polrxids =[ 1, 0, 0, 1, 0 ] ; Receiver (Vrx=0, Hrx=1) associated ; with the co-pol return for all PIDs conf.poltxids =[ 1, 0, 1, 1, 1 ] ; Tx pol ID for every port ; ------------------------------------------------------------------------------ ; Assign WCR2 configuration fixed parameters ; ------------------------------------------------------------------------------ conf.algids =[ 0, 1, 2, 3, 4, 5, 6 ] ; conf.algstr =['SPP','FF1','FF2','FF3','FF4','CPP','RIQ'] ; ; ............................................................................ ; Power cal. correction for every pulse; reference is CR cal. for 200 ns ; 50 100 200 250 500 1000 ns conf.calcor =[6., 3., 0., -1., -4., -7.] ; ............................................................................ conf.fftwinids=[ 0, 1, 2, 3, 4 ] conf.fftwinstr=['bartlett','blackman','hamming','hanning','rectangular'] ; ............................................................................ conf.filtids =[ 0, 1, 2, 3, 4, 5 ] ; IF filter(MHz) IDs conf.filtstr =['20','10','5','4','2','1'] ; IF filter names ; Minimum range_gate_sampling (for drxdec=4) conf.minrgs=7.5093867d0 ; in meters ; ............................................................................ ; Mirror ID for the side and up beam on N2UW, the antenna assoc. with ; the mirror, and the corresponding beam vector indices (for conf.beams) ; Atten: conf.mirrorids[1] must be equal to conf.mirrorids[2]; in other ; words the up beam designation must match the antenna id. Note that ; 0 is not allowed as an antenna id and is to be used for designating ; a beam ID for side direction. If conf.mirrorids[[0,2]]=-9 then mirror ; is either not used or it does not exist (-9 designation has been used ; in plotwcr2qa.pro only so far). Words 'side' and 'up' are required ; and cannot be replaced with other synonyms - they are used in other ; programs. conf.mirrorids=[ -9, -9, -9, 0, 1 ] conf.mirrorstr=['side','up','antid','side_beam_ind','up_beam_ind'] ; ............................................................................ ; Smoothing noise-window size(default 101); should be an odd number; ; it is recommended not to exceed 10% of the processed number of profiles conf.noisewin =101L ; Minimum power (in mW) set when no signal is present ; (after rxscale is applied in readwcr2data) conf.nosignal=1.e-15 ; ............................................................................ ; WCR2 Installation aircraft/paltform ID conf.platform='N130AR' ; for NSF/NCAR C130 ; ............................................................................ conf.polstr =['v', 'h'] ; pol ID string 'v'=0; 'h'=1 conf.pulseids =[ 0, 1, 2, 3, 4, 5] ;Pulsewidth IDs conf.pulses =[50,100,200,250,500,1000] ;Pulsewidth in [ns] conf.rflambda =0.00316 ; Tx carrier wavelength in meters conf.rffreq =94.92 ; Tx carrier frequency in GHz conf.rxscale =10.^8.775 ; Digital receiver conversion factor to mW: ; mW=value/(8*averages*rxscale) for SPP ; uW=value/(fftlen^2*averages*rxscale) for FFT ; mW=value/(npavrg*averages*rxscale) for CPP ; mW=value/rxscale for RIQ return,conf end