SHEF

3 SHEF Formats:


.A Single station, multiple parameter

.B Multiple station, multiple parameter, header driven

.E Single station, single parameter, evenly spaced time series

Example .A Format:

.A EGTM7 1120 C DH08/HG 5.75/QR 5.97/PP 2.15

Example .B Format:

ZCZC SEARTPOTX

TTAA00 KGEG 261716

EASTERN WASHINGTON AND NORTHERN IDAHO TEMPERATURE AND

PRECIPITATION SUMMARY...UPDATED

NATIONAL WEATHER SERVICE SPOKANE WA

900 AM PST FRI MAR 26 1999

HIGH TEMP YESTERDAY/ 12 HOUR LOW TEMPERATURE UP TIL 4 AM

PRECIPITATION AND SNOWFALL PAST 24 HOURS UP TIL 4 AM

.B GEG 0326 DH08/TX/DH12/TAIRZP/PPD/SFD/SD

: MAX MIN 24 HR 24 HR SNOW

:ID STATION ELEV TEMP TEMP PCPN SNFL DEPTH

COE : COEUR D`ALENE AP 2318 : 54 / 37 / 0.13 / M / M

CQV : COLVILLE 1657 : 56 / 42 / 0.09 / M / 0

EPH : EPHRATA 1259 : 60 / 32 / M / M / M

LWS : LEWISTON 1436 : 64 / 41 / 0.35 / M / M

MLP : MULLAN PASS 6150 : 44 / 24 / 0.37 / M / M

OMK : OMAK 1301 : 60 / 40 / 0.01 / M / M

PUW : PULLMAN 2551 : 56 / 38 / 0.04 / M / M

GEG : SPOKANE INTL 2356 : 53 / 37 / 0.11 / M / 0

OTX : SPOKANE NWS 2387 : 54 / 37 / 0.04 / 0 / 0

EAT : WENATCHEE 1255 : 56 / 40 / T / M / 0

.END

NNNN

Example .E Format:

ZCZC PDXRVFWW

TTAA00 KPDR 301548

RIVER FORECAST

NATIONAL WEATHER SERVICE

NORTHWEST RIVER FORECAST CENTER, PORTLAND, OR

1548Z Tue Mar 30 1999

:NASELLE R NR NASELLE

:FLOOD STAGE 15.5

:

.E NASW1 0330 DC03301548/DH18/HGIFZ/DIH6

:RECENT DATA DATE/TIME/ 12Z 18Z 0Z 6Z

.E1 : 6.8 0330/1440Z: / 6.7/ 6.6/ 6.5

.E2 : :: :/ 6.3/ 6.2/ 6.1/ 5.9

.E3 : :: :/ 5.8/ 5.7/ 5.6/ 5.6

.E4 : :: :/ 5.5

:

:END OF MESSAGE


NNNN


Some Rules for Coding SHEF Messages

Continuation lines:

Continuation lines are allowed in the .A and .E formats, but not in the .B format. Continuation lines are encoded with .A1, .A2...or .E1, .E2 etc..

Revising data:

To change data that has already been sent via SHEF, use the following features: .AR, .ER or .BR. This allows for overwriting of the previously transmitted data.

Missing data:

Missing data can be encoded as "+", "m", "M", "-9999", or "-9002".

Blank character fields:

A total of 15 consecutive blank characters terminate the decoding process.

These are some of the most commonly used rules when encoding SHEF messages. For a complete list of the rules, please refer to the SHEF Handbook.


Table 1

Physical Element Codes most commonly used in NWS

PE DTSEP

CODE EXPLANATION (Units)

H HEIGHT

HF Height, forebay (ft,m)

HG Height, river stage (ft,m)

HO Height, flood stage (ft,m)

HP Elevation, pool (ft,m)

HZ Elevation, freezing level (kft,km)



L LAKE DATA

LS Lake storage volume (kaf,mcm)



P PRESSURE AND PRECIPITATION

PA Pressure, atmospheric (in-hg,kpa)

PC Precipitation, accumulator (in,mm)

PN Precipitation normal (in,mm)

PP Precipitation, actual increment (in,mm)

PR Precipitation rate (in/day,mm/day)

PT Precipitation type



Q DISCHARGE

QA Discharge adjusted for storage at project only (kcfs,cms)

QB Runoff depth (in,mm)

QC Runoff volume (kaf,mcm)

QD Canal diversion (kcfs,cms)

QI Discharge inflow (kcfs,cms)

QR Discharge river (kcfs,cms)



S SNOW DATA

SA Areal extent of basin snow cover (%)

SD Snow depth (in,cm)

SF New snowfall depth (in,cm)

SL Elevation of snowline (kft,m)

SW Snow water equivalent (in,mm)



T TEMPERATURE

TA Air temperature (DF,DC)

TD Dew Point temperature (DF,DC)

TN Minimum temperature (DF,DC)

TX Maximum temperature (DF,DC)



Table 2

Duration Codes

PE D TSEP



CODE EXPLANATION

I Instantaneous

U 1 minute

C 15 minutes

J 30 minutes

H 1 hour

B 2 hour

T 3 hour

F 4 hour

Q 6 hour

A 8 hour

K 12 hour

L 18 hour

D 1 day

W 1 week

M 1 month

Y 1 year

P Duration for a period beginning at 7am local and ending at time of observation

V Variable period, duration defines separately

S Period of seasonal duration

R Entire period of record

X Unknown duration

Z Filler, pointer to default duration (Refer to SHEF Handbook)





Table 3

Commonly Used Type and Source Codes

PED TS EP


F FORECAST

FZ Nonspecific forecast data


P PROCESSED DATA (NONFORECAST)

PM Processed mean areal data

PZ Nonspecific processed data



R OBSERVED DATA

RA Best quality

RB 2nd best

RC 3rd best

RD 4th best

RF Airborne

RG GOES

RM Meteor burst (SNOTEL)

RP Phone (LARC)

RR Radio #1

RS Radio #2

RV Visual #1

RW Visual #2

RX Visual #3

RZ Nonspecific observed reading




Table 4

Extremum Codes

PEDTS E P


CODE EXPLANATION

J Minimum of record

K Minimum of year

L Minimum of month

M Minimum of week

N Minimum of day

F Minimum of 1 hour

G Minimum of 3 hours

H Minimum of 6 hours

P Minimum of 12 hours

I Minimum of 18 hours

T Maximum of record

U Maximum of year

V Maximum of month

W Maximum of week

X Maximum of day

D Maximum of 1 hour

E Maximum of 3 hours

R Maximum of 6 hours

Y Maximum of 12 hours

S Maximum of 18 hours

Z Null character (filler)




Table 5

Time Interval Specifier for .E format

DIt



CODE UNIT DEFINITION

DISss Seconds

DINnn Minutes

DIHhh Hours

DIDdd Days

DIMmm Months

DIEmm End of month monthly data only

DIYyy Years

 

Table 6

Time Zone Designators

tz



CODE LOCATION


E Eastern local time

ED Eastern daylight time

ES Eastern standard time

C Central local time

CD Central daylight time

CS Central standard time

M Mountain local time

MD Mountain daylight time

MS Mountain standard time

Pacific local time

PD Pacific daylight time

PS Pacific standard time

L Alaska local time

LD Alaska daylight time

LS Alaska standard time

Z Zulu time (GMT)