This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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 > > > >