Converting from cdump to ASCII

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
shanky
Posts: 14
Joined: February 14th, 2015, 12:59 am
Registered HYSPLIT User: No

Converting from cdump to ASCII

Post by shanky » January 7th, 2016, 2:28 pm

Hi All,

As I have mentioned in my previous post about the cdump to ascii file conversion using HYSPLIT GUI and HYSPLIT Commandline tools ; which creates files with noticeable different sizes (Hysplit GUI creates cdump.txt of 290MB and command line tool creates file of size 3.5MB).

I am wondering why the starting and ending values of lat, lon are different for both the files ? As I have created both the files using HYSPLIT GUI (see the attachment for options I have selected while using GUI )and HYSPLIT Commandline tool (the command I had used is ./con2asc -scmtv cdump) respectively.

Here I am pasting the snippets of the data created by Hysplit GUI and Hysplit command line tool resp.

HYSPLIT GUI :
YEAR MO DA HR LAT LON TEST03000
2005 6 16 18 10.0000 -145.0000 0.0000E+00
2005 6 16 18 10.2500 -145.0000 0.0000E+00
2005 6 16 18 10.5000 -145.0000 0.0000E+00
2005 6 16 18 10.7500 -145.0000 0.0000E+00
2005 6 16 18 11.0000 -145.0000 0.0000E+00
2005 6 16 18 11.2500 -145.0000 0.0000E+00
2005 6 16 18 11.5000 -145.0000 0.0000E+00
2005 6 16 18 11.7500 -145.0000 0.0000E+00
2005 6 16 18 12.0000 -145.0000 0.0000E+00
2005 6 16 18 12.2500 -145.0000 0.0000E+00
2005 6 16 18 12.5000 -145.0000 0.0000E+00
2005 6 16 18 12.7500 -145.0000 0.0000E+00
2005 6 16 18 13.0000 -145.0000 0.0000E+00
2005 6 16 18 13.2500 -145.0000 0.0000E+00
2005 6 16 18 13.5000 -145.0000 0.0000E+00
2005 6 16 18 13.7500 -145.0000 0.0000E+00
2005 6 16 18 14.0000 -145.0000 0.0000E+00
2005 6 16 18 14.2500 -145.0000 0.0000E+00
2005 6 16 18 14.5000 -145.0000 0.0000E+00
2005 6 16 18 14.7500 -145.0000 0.0000E+00
2005 6 16 18 15.0000 -145.0000 0.0000E+00
2005 6 16 18 15.2500 -145.0000 0.0000E+00
2005 6 16 18 15.5000 -145.0000 0.0000E+00
2005 6 16 18 15.7500 -145.0000 0.0000E+00
2005 6 16 18 16.0000 -145.0000 0.0000E+00
2005 6 16 18 16.2500 -145.0000 0.0000E+00
.
.
.
.
.
.
2005 6 6 21 77.7500 -75.0000 0.0000E+00
2005 6 6 21 78.0000 -75.0000 0.0000E+00
2005 6 6 21 78.2500 -75.0000 0.0000E+00
2005 6 6 21 78.5000 -75.0000 0.0000E+00
2005 6 6 21 78.7500 -75.0000 0.0000E+00
2005 6 6 21 79.0000 -75.0000 0.0000E+00
2005 6 6 21 79.2500 -75.0000 0.0000E+00
2005 6 6 21 79.5000 -75.0000 0.0000E+00
2005 6 6 21 79.7500 -75.0000 0.0000E+00
2005 6 6 21 80.0000 -75.0000 0.0000E+00


Here is the snippets of output data from HYSPLIT CommandLine tool
YEAR MO DA HR LAT LON TEST03000
2005 6 16 18 50.50 -116.00 0.42E-15
2005 6 16 18 50.75 -116.00 0.38E-13
2005 6 16 18 51.00 -116.00 0.15E-12
2005 6 16 18 50.25 -115.75 0.96E-14
2005 6 16 18 50.50 -115.75 0.80E-13
2005 6 16 18 50.75 -115.75 0.27E-12
2005 6 16 18 50.25 -115.50 0.33E-14
2005 6 16 18 50.50 -115.50 0.37E-13
2005 6 16 18 50.75 -115.50 0.59E-14
2005 6 16 18 51.25 -115.50 0.17E-14
2005 6 16 18 51.50 -115.50 0.12E-13
2005 6 16 18 51.75 -115.50 0.74E-13
2005 6 16 18 52.00 -115.50 0.17E-12
.
.
.
.
.
.
2005 6 6 21 77.00 -89.00 0.35E-15
2005 6 6 21 77.00 -88.75 0.71E-15
2005 6 6 21 77.00 -88.50 0.35E-15
2005 6 6 21 77.00 -88.25 0.71E-15
2005 6 6 21 77.00 -88.00 0.71E-15
2005 6 6 21 77.00 -87.75 0.36E-15
2005 6 6 21 77.00 -87.50 0.71E-15
2005 6 6 21 77.00 -87.25 0.36E-15
2005 6 6 21 77.00 -87.00 0.36E-15
2005 6 6 21 77.25 -87.00 0.36E-15
2005 6 6 21 77.25 -86.75 0.36E-15
2005 6 6 21 77.25 -86.50 0.72E-15
2005 6 6 21 77.25 -86.25 0.72E-15
2005 6 6 21 77.25 -86.00 0.36E-15
2005 6 6 21 77.25 -85.75 0.73E-15
2005 6 6 21 77.25 -85.50 0.73E-15
2005 6 6 21 77.25 -85.25 0.36E-15


I am wondering why the starting and ending values of lat, lon are different for both the files ? As I mentioned both files I had created using HYSPLIT GUI and HYSPLIT Commandline tool.

Thank You,
Attachments
Screen Shot 2016-01-07 at 11.30.06 AM.png

ariel.stein
Posts: 652
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes
Contact:

Re: Converting from cdump to ASCII

Post by ariel.stein » January 7th, 2016, 2:57 pm

The proper way to run con2asc through the command line will be
./con2asc -icdump -s - c -m -t -v

shanky
Posts: 14
Joined: February 14th, 2015, 12:59 am
Registered HYSPLIT User: No

Re: Converting from cdump to ASCII

Post by shanky » January 21st, 2016, 11:47 am

It works ...
Thank You very much Ariel,
Shanky

Post Reply