[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000306: Metar data
- Subject: 20000306: Metar data
- Date: Mon, 6 Mar 2000 10:50:54 -0700
Scott,
The SAUS4x reports have MTRxxx pils.
There are also FXUS4x reports that have a MTTxxx for
the test reports- but I don't try to decode test metars.
I put a tarfile of March 5 metars on as2.
Currently in mtfind.f, to get the MTRxxx reports I added
the check for MTRxxx (but didn't sum it to the indx=MAX() check.
hdrid = bultin ( nchar + 1:nchar + 6)
indxmt = INDEX ( hdrid, 'METAR' )
indxsp = INDEX ( hdrid, 'SPECI' )
C
C* check for PIL line folloing header
C
indxpl = INDEX ( hdrid, 'MTR' )
if(indxpl .eq.1) then
do i=4,6
CALL ST_ALNM(hdrid(i:i),ityp,ier)
if((ityp.eq.0).or.(ier.ne.0)) indxpl = 0
end do
else
indxpl = 0
end if
Then, check for the indxpl flag in the iothr section.
ELSE IF ( iothr .eq. 1 ) THEN
C
C* METAR/SPECI not found; assume METAR.
C
bultyp = 'MT'
C
C* Check for MTRxxxpil line
C
if((indxpl.eq.1).and.(bultin(nchar+7:nchar+7).eq.CHCR)) then
ibpnt = ibpnt + 8
else
ibpnt = ibpnt + 2
endif
Steve Chiswell
Unidata User Support
On Mon, 6 Mar 2000, Scott Jacobs wrote:
> Steve,
>
> Could you send us a few hours, or a whole days, worth of Metar reports
> that show the
> PIL as the second line? Duane is working on this problem with the
> decoders and none
> of our data has the PIL.
>
>
> Thanks,
>
> Scott
>
>
>
>