Omaha #3593 Fixing UEngine version for a proper side by side comparison.
Change-Id: Iff7a54df2d48ae7c51e37f5652d46934e3503323 Former-commit-id: eac5ba546276b60d0705c6d7d94f8958fbddf5d9
This commit is contained in:
parent
228476974a
commit
6d238aab03
2 changed files with 73 additions and 5 deletions
|
@ -1,3 +1,36 @@
|
||||||
|
##
|
||||||
|
# This software was developed and / or modified by Raytheon Company,
|
||||||
|
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||||
|
#
|
||||||
|
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||||
|
# This software product contains export-restricted data whose
|
||||||
|
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||||
|
# to non-U.S. persons whether in the United States or abroad requires
|
||||||
|
# an export license or other authorization.
|
||||||
|
#
|
||||||
|
# Contractor Name: Raytheon Company
|
||||||
|
# Contractor Address: 6825 Pine Street, Suite 340
|
||||||
|
# Mail Stop B8
|
||||||
|
# Omaha, NE 68106
|
||||||
|
# 402.291.0100
|
||||||
|
#
|
||||||
|
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||||
|
# further licensing information.
|
||||||
|
##
|
||||||
|
|
||||||
|
# Gets all available Laps metar data in the A-II database over a specified range
|
||||||
|
# of times within a specifed area. The data is output to stdout as ASCII.
|
||||||
|
# Each line is one time/station combination. The individual data items are comma
|
||||||
|
# delimited.
|
||||||
|
#
|
||||||
|
# SOFTWARE HISTORY
|
||||||
|
#
|
||||||
|
# Date Ticket# Engineer Description
|
||||||
|
# ------------ ---------- ----------- --------------------------
|
||||||
|
# 09/15/2014 3593 nabowle Initial modification. Fix index issues on 2D parameters.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
# pointDataQuery.stationName_lat_lon.py
|
# pointDataQuery.stationName_lat_lon.py
|
||||||
from com.raytheon.uf.common.message.response import ResponseMessageGeneric
|
from com.raytheon.uf.common.message.response import ResponseMessageGeneric
|
||||||
import PointDataQuery
|
import PointDataQuery
|
||||||
|
@ -68,8 +101,8 @@ if len(tobs) == 0 :
|
||||||
msg = "couldn't get data"
|
msg = "couldn't get data"
|
||||||
return ResponseMessageGeneric(msg)
|
return ResponseMessageGeneric(msg)
|
||||||
|
|
||||||
msg = "\n"
|
msg = "\n\n"
|
||||||
i = i6 = 0
|
i = i5 = i6 = 0
|
||||||
while i < len(tobs) :
|
while i < len(tobs) :
|
||||||
msg += sName[i] + ","
|
msg += sName[i] + ","
|
||||||
msg += str(tobs[i]/1000) + ","
|
msg += str(tobs[i]/1000) + ","
|
||||||
|
@ -82,10 +115,10 @@ while i < len(tobs) :
|
||||||
msg += str(ista[i]) + ","
|
msg += str(ista[i]) + ","
|
||||||
msg += atype[i] + " ,"
|
msg += atype[i] + " ,"
|
||||||
msg += repTyp[i] + " ,"
|
msg += repTyp[i] + " ,"
|
||||||
msg += wx[i] + " ,"
|
msg += wx[i5] + " ,"
|
||||||
msg += "%.3f"%vis[i] + ","
|
msg += "%.3f"%vis[i] + ","
|
||||||
|
|
||||||
i6 += 6;
|
|
||||||
msg += cvr[i6];
|
msg += cvr[i6];
|
||||||
kk = 5
|
kk = 5
|
||||||
while kk > 0 and cvr[i6+kk] == "" :
|
while kk > 0 and cvr[i6+kk] == "" :
|
||||||
|
@ -123,6 +156,8 @@ while i < len(tobs) :
|
||||||
msg += "%.2f"%pr6[i] + ","
|
msg += "%.2f"%pr6[i] + ","
|
||||||
msg += "%.2f"%pr24[i] + "\n"
|
msg += "%.2f"%pr24[i] + "\n"
|
||||||
i += 1
|
i += 1
|
||||||
|
i5 += 5
|
||||||
|
i6 += 6;
|
||||||
|
|
||||||
return ResponseMessageGeneric(msg)
|
return ResponseMessageGeneric(msg)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,36 @@
|
||||||
|
##
|
||||||
|
# This software was developed and / or modified by Raytheon Company,
|
||||||
|
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||||
|
#
|
||||||
|
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||||
|
# This software product contains export-restricted data whose
|
||||||
|
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||||
|
# to non-U.S. persons whether in the United States or abroad requires
|
||||||
|
# an export license or other authorization.
|
||||||
|
#
|
||||||
|
# Contractor Name: Raytheon Company
|
||||||
|
# Contractor Address: 6825 Pine Street, Suite 340
|
||||||
|
# Mail Stop B8
|
||||||
|
# Omaha, NE 68106
|
||||||
|
# 402.291.0100
|
||||||
|
#
|
||||||
|
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||||
|
# further licensing information.
|
||||||
|
##
|
||||||
|
|
||||||
|
# Gets all available metar data in the A-II database over a specified range of
|
||||||
|
# times within a specifed area. The data is output to stdout as ASCII.
|
||||||
|
# Each line is one time/station combination. The individual data items are comma
|
||||||
|
# delimited.
|
||||||
|
#
|
||||||
|
# SOFTWARE HISTORY
|
||||||
|
#
|
||||||
|
# Date Ticket# Engineer Description
|
||||||
|
# ------------ ---------- ----------- --------------------------
|
||||||
|
# 09/15/2014 3593 nabowle Initial modification. Fix losing first record.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
# pointDataQuery.stationName_lat_lon.py
|
# pointDataQuery.stationName_lat_lon.py
|
||||||
from com.raytheon.uf.common.message.response import ResponseMessageGeneric
|
from com.raytheon.uf.common.message.response import ResponseMessageGeneric
|
||||||
import PointDataQuery
|
import PointDataQuery
|
||||||
|
@ -46,7 +79,7 @@ if len(tobs) == 0 :
|
||||||
msg = "couldn't get data"
|
msg = "couldn't get data"
|
||||||
return ResponseMessageGeneric(msg)
|
return ResponseMessageGeneric(msg)
|
||||||
|
|
||||||
msg = "\n"
|
msg = "\n\n"
|
||||||
i = 0
|
i = 0
|
||||||
while i < len(tobs) :
|
while i < len(tobs) :
|
||||||
msg += sName[i] + ","
|
msg += sName[i] + ","
|
||||||
|
|
Loading…
Add table
Reference in a new issue