FSL Condensed Format for HPD access

  •  An output example: In the example below, moving the cursor to the information icon information icon near red data entries will bring up a short description of that entry. More detailed information on individual fields is available from NCDC original format documentation.
  •  These records may be read in fortran with the following code sample:
  •  A sample of the access routine (with queries and selections) to obtain data in this format:
  • Output in FSL format

     01000807 HT 19950201 UTC 00Day-one record; indicates presence of data from this station02 010000g 250000
    Station ID number; first two digits indicate state, last two indicate climate zone01000807Gage type; HT is tenths inch resolution, HI is hundredths inch resolutionHTDate (YYYYMMDD)19950204Time frame (UTC or LST)UTCTime z one (hours before UTC)00Number of data entries for this day03Data entry: hour 3, 10 hundredths inch030010 040020 Hour 25 indicates daily total250030
     01000807 HT 19950210 UTC 00 03 090010  120010  250020
     01000807 HT 19950211 UTC 00 19 070020  080020  090040  100050  110060  120040
    130030  140020  150020  160020  170010  180020  190010  200010  210020  220010
    230020  240010  250430
     01000807 HT 19950212 UTC 00 09 010010  020010  030010  050010  080010  120010
    140010  160010  250080
     01000807 HT 19950217 UTC 00 05 210020  220020  230010  240010  250060
     01000807 HT 19950218 UTC 00 04 100010  140010  160010  250030
     01000807 HT 19950220 UTC 00 04 020010  090010  170010  250030
     01000807 HT 19950228 UTC 00 07 150010  160020  170020  190010  200010  210010
    250080
     01006303 HT 19950201 UTC 00 02 010000g 250000
    .................
     01039001 HT 19950227 UTC 00 05 150010  160010  180010 Begin delete string, hour 19199999{Daily totals flagged as incomplete259999I
     01039001 HT 19950228 UTC 00 02End string of deleted data249999} 259999I
    .................
     02359602 HI 19950214 UTC 00 09 010003  020004  030001  040002  050006  060004
    070001 Begin string of accumulating rainfall089999a 259999I
     02359602 HI 19950215 UTC 00 02End accumulating string; total 1.32 inches200132A 259999I
    .................
     03053003 HT 19950202 UTC 00 03Missing data string119999[ 239999] 259999I

     

    Code to read FSL format

          read(lun,100,end=999) station,climzone,agagetype,iyear,idate,atimeframe,
         *    ihroffset,nnhour,(ihour(i),iprecip(i),aflag1(i),aflag2(i),i=1,nnhour)
      100 format(1x,a6,1x,a2,1x,a2,1x,i4,i4,1x,a3,1x,i2,1x,i2,1x,<nnhour>(i2,i4,a1,a1))
      999 continue

    Sample access using GETHPD

     
    host:~ > gethpd
    
    
          Welcome to NOAA's Hourly Precipitation Data (HPD) Archive.
    
    
    
    A joint development by:
    
            National Climatic Data Center (NCDC)
              - Data Archival and Extensive Quality Control Procedures
            Forecast Systems Laboratory (FSL)
              - CDROM Archive and Access Software Development
    
        HPD data from the directory: /home/username/archive/
         is available for the years:  1946 thru 1998
    
    
     What is the beginning date? YYYYMMDD [19950201]
     What is the ending date? YYMMDDHH [19950228]
    
     How do you wish to access the data set?
          0  -  by station number
          1  -  by geographic location
          2  -  by state
          3  -  all stations
    Your Choice? [3]
    
                     Time Access
    
     Which time units do you want?
          0  -  Local Standard Time
          1  -  Universal Time (UTC)
    Your Choice? [1]
     What type of output format do you want?
          0  -  NCDC TD-3240 format
          1  -  FSL short format
          2  -  FSL filled format
          3  -  Java Display Format
    Your Choice? [1]
    
     How do you want to organize the output data?
          0  -  Synoptic Sort (time series)
          1  -  Climatological Sort (station series)
        Note:  For large data requests, type help for performance information.
    
    Your Choice? [1]
    
     Where do you want to direct the output?
          0  -  to the screen
          1  -  to output file(s)
    Your Choice? [1]
    
     Where do you want to write the output files?
      Enter the disk and directory only: /home/username
    
    Writing file: /home/username/19950201.HPD.UTC.FSL
    Processing State: PI Year: 1995 Station: 914951
     Do you wish to continue accessing data from this request? [Y/N] [N]
     Would you like to request more data? [Y/N] [N]
    host:~ >

    Go up one pageGo to page topGo to CDROM homepage
    Last modified: Tue Aug 24 15:48:06 1999