NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20020402: times cannot be added

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.



Grady,

You are creating your surface file with room for 20 different times:
>  TIMSTN    Times/additional stations         20/50
...
>  Total number of times:             20


Your data is every 15 minutes. You start seeing errors at:
  [SFEDIT -7]  Time 960509/0515 cannot be added to data set.

That should be the result of already adding your 20 times:
0015, 0030, 0045,
0100, 0115, 0130, 0145,
0200, 0215, 0230, 0245,
0300, 0315, 0330, 0345,
0400, 0415, 0430, 0445,
0500

If you want 4x per hour * 24 hours, try creating the file with 96
times. The maximum number of times that you can have in a surface
file is 300.


Steve Chiswell
Unidata User Support

On Tue, 2 Apr 2002, Grady Dixon wrote:

> Steve
>
> I am using 5.6 to plot surface data from several different
> stations...some report in metric units, some report in english units.
> But I keep getting an [SFEDIT -7] error:  "time...cannot be added to
> data set"
>
> here is a sample of my sfefil:
> PARM = TMPC;DWPC;RELH;SPED;SKNT;DRCT;PRES;ALTI
>
> STID      DATTIM    TMPC  DWPC  RELH  SPED  SKNT DRCT   PRES    ALTI
> ATA  960509/0015   23.17 -9999 73.40  2.62 -9999 155.90 982.00 -9999
> ATA  960509/0030   22.94 -9999 73.70  2.03 -9999 167.20 982.00 -9999
> ATA  960509/0045   22.83 -9999 75.10  2.08 -9999 174.50 982.00 -9999
> ATA  960509/0100   22.67 -9999 76.50  1.91 -9999 201.30 982.00 -9999
> ATA  960509/0115   22.50 -9999 76.80  2.18 -9999 201.70 981.00 -9999
> ATA  960509/0130   22.39 -9999 77.80  2.09 -9999 204.70 981.00 -9999
> ATA  960509/0145   22.22 -9999 77.20  2.41 -9999 206.70 981.00 -9999
> ATA  960509/0200   22.17 -9999 75.80  2.22 -9999 215.00 981.00 -9999
> ATA  960509/0215   22.11 -9999 75.40  2.79 -9999 216.20 981.00 -9999
> ATA  960509/0230   21.94 -9999 75.50  3.17 -9999 226.40 981.00 -9999
> ATA  960509/0245   21.78 -9999 76.50  3.12 -9999 216.00 981.00 -9999
> ATA  960509/0300   21.61 -9999 77.40  2.11 -9999 226.40 981.00 -9999
> ATA  960509/0315   21.28 -9999 79.50  2.21 -9999 239.00 982.00 -9999
>
>
>
> here is a copy of my sfcfil and sfedit commands with the first few
> errors listed:
>
> SFOUTF    Output surface file               may.sfc
>  SFPRMF    Surface parameter packing file
> tmpc;dwpc;relh;sped;sknt;drct;pres;alti
>  STNFIL    Station information file          stations.tbl
>  SHIPFL    Ship data file flag               NO
>  TIMSTN    Times/additional stations         20/50
>  SFFSRC    Surface file source               text
>  Parameters requested: SFOUTF,SFPRMF,STNFIL,SHIPFL,TIMSTN,SFFSRC.
>  GEMPAK-SFCFIL>r
>
>  SFCFIL PARAMETERS:
>
>  New surface file:      may.sfc
>
>  Parameter file:        tmpc;dwpc;relh;sped;sknt;drct;pres;alti
>
>  Station file:
>
>  Number of stations in STNFIL:      25
>  Number of additional stations:     50
>  Total number of stations:          75
>  Total number of times:             20
>
>  This file will be a standard surface file.
>
> Enter <cr> to accept parameters or type EXIT:
>  The file has been created.
>  Parameters requested: SFOUTF,SFPRMF,STNFIL,SHIPFL,TIMSTN,SFFSRC.
>  GEMPAK-SFCFIL>e
> austru% sfedit
>  SFEFIL    Surface edit file                 may.prn
>  SFFILE    Surface data file                 may.sfc
>  Parameters requested: SFEFIL,SFFILE.
>  GEMPAK-SFEDIT>r
>
>  SFEDIT PARAMETERS:
>
>  Edit file:           may.prn
>
>
>  Output surface file: may.sfc
>
>
>  Parameters to be added to file:
>
>  TMPC DWPC RELH SPED SKNT DRCT PRES ALTI
> Enter <cr> to accept parameters or type EXIT:
>  [SFEDIT -7]  Time 960509/0515 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0530 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0545 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0600 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0615 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0630 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0645 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0700 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0715 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0730 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0745 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0800 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0815 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0830 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0845 cannot be added to data set.
>  [SFEDIT -7]  Time 960509/0900 cannot be added to data set.
>
>
> Any suggestions on how to get this to work?
> Thanks
> GRADY
>
> *********************************
> Grady Dixon
> Department of Geography
> University of Georgia
> http://www.arches.uga.edu/~gdixon
>
>