Re: 20050926: perl/netCDF record mismatch

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

andres,

first the error you got is the result of writing the report to the netCDF
file. i tried to reproduce the error using the latest ua2nc and raob.cdl file
on data set 2005092612_upa.wmo, but it didn't produce any errors.  i did
fix a similar error some time ago, but i don't remember the time period.
i'm going to attach a raob.cdl and ua2nc files for you to try and see if
you still get the error. after you install raob.cdl and ua2nc files, stop
the ldm and remove the files uaLog.log and ua.lst in the data directory or
you will get no data for one day. i'm getting ready to make a new release
so if you still have problems, i would like to know.  also, there is a new
file naming convention, ie Upperair_20050926_0000.nc on a daily basis. if
you want the old naming convention, then add flag!!  -n old.  if you want
hourly files, then add -h. for old files and hourly, then:

% ua2nc -h -n old raob.cdl ....

robb...

Opening data/Upperair_20050926_0000.nc with ncid 3
Station: 91592, report type: TTAA, j = 12
Time:  2005092612
---------------------------------------------------------
Pres      Ht     Temp      DewPt       Dir       Spd
  mb      m      C         C           deg       m/s
---------------------------------------------------------
  1014      69  293.95         3        80       7.2016
  1000     172  293.15       2.8        80        7.716
   925     840  288.75       2.2        70      11.8312
   850    1553  283.75       1.2        55      13.3744
   700    3159  281.55        47       200        5.144
   500    5850  265.45        47       285       10.288
   400    7540  251.05        42       250       6.6872
   300    9580  238.05        37       265      33.9504
   250   10850  233.85        36       285       48.868
   200   12330  222.05     99999       285      49.3824
   150   14140  207.45     99999       290       43.724
   100   16530  197.45     99999       290      21.6048

Maximum values
---------------------------------------------------------
   226                                285        51.44

Station: 91592, report type: TTBB, j = 9
Time:  2005092612
---------------------------------------------------------
Pres      Ht     Temp      DewPt       Dir       Spd
  mb      m      C         C           deg       m/s
---------------------------------------------------------
1014.0   99999  293.95         3     99999        99999
 794.0   99999  279.95       0.7     99999        99999
 781.0   99999  278.95         5     99999        99999
 758.0   99999  283.95        19     99999        99999
 742.0   99999  282.55        24     99999        99999
 713.0   99999  282.55        47     99999        99999
 501.0   99999  265.65        47     99999        99999
 384.0   99999  248.45        41     99999        99999
 336.0   99999  239.85        14     99999        99999

On Mon, 26 Sep 2005, Unidata Support wrote:

>
> ------- Forwarded Message
>
> >To: support@xxxxxxxxxxxxxxxx
> >From: =?ISO-8859-1?Q?Andr=E9s_Calder=F3n?= <andresfcalderon@xxxxxxxxx>
> >Subject: perl/netCDF record mismatch
> >Organization: ?
> >Keywords: 200509261616.j8QGGeYJ010181 netCDF decoders
>
> Hi,
>
> I am trying convert upperair data to netcdf, the command tested:
>
> $ ua2nc -v /usr/local/etc/raob.cdl <05092612_upa.wmo
>
> and the log is (an extract):
> ....
> Station: 91592, report type: TTAA, j =3D 12
> Time: 2005092612
> ---------------------------------------------------------
> Pres Ht Temp DewPt Dir Spd
> mb m C C deg m/s
> ---------------------------------------------------------
> 1014 69 293.95 3 80 7.2016
> 1000 172 293.15 2.8 80 7.716
> 925 840 288.75 2.2 70 11.8312
> 850 1553 283.75 1.2 55 13.3744
> 700 3159 281.55 47 200 5.144
> 500 5850 265.45 47 285 10.288
> 400 7540 251.05 42 250 6.6872
> 300 9580 238.05 37 265 33.9504
> 250 10850 233.85 36 285 48.868
> 200 12330 222.05 99999 285 49.3824
> 150 14140 207.45 99999 290 43.724
> 100 16530 197.45 99999 290 21.6048
>
> Maximum values
> ---------------------------------------------------------
> 226 285 51.44
>
> ncvarget: ncid 3: Edge+start exceeds dimension bound
> NetCDF::recget status =3D -1
> perl/netCDF record mismatch at /usr/local/bin/ua2nc line 355, <STDIN> chunk
> 7.
> Wmo =3D91592, Type =3DTTAA, Rpt: 2611, Trans: 2612, recput =3D-1
> .....
>
> What happens?
>
> What means? :
> ncvarget: ncid 3: Edge+start exceeds dimension bound
> NetCDF::recget status =3D -1
> perl/netCDF record mismatch at /usr/local/bin/ua2nc line 355, <STDIN> chunk
> 7.
>
>
>
> decoder 3.1.2
> debian sarge
> netcdf 3.5.0
> perl v5.8.7
>
> thanks,
>
> -- Andres Calderon
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================
  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: