[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: GTE DUATS and weather graphics/etc.
Oh, definately. For processing the data files that the NFDC provides, it
definately makes sense to do it in perl. I figured that we'd be processing
those data files from the standard format into a format that was more usable
to the individual applications and splitting it out into multiple files for
efficiency/etc.
Once it's in a more useful form, then it makes sense to access it via
C/Tcl/Python/Perl, but for the translation effort, perl wins hands down.
Ideally, I'd like to see the data files get processed from the raw form into
a Berkeley DB format database, or something along those lines.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@umr.edu
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
> -----Original Message-----
> From: D.F.S. [mailto:dfs@xmission.com]
> Sent: Monday, January 31, 2000 11:33 AM
> To: linux-aviation@nl.linux.org
> Subject: Re: GTE DUATS and weather graphics/etc.
>
>
> > I would say perl would be the best place to start. We could
> then easily
> > translate the perl module into a wrapper around a C library
> - particularly
> > if we are careful on designing the interface.
> >
>
> I would have to vote for perl.
>
> I'm a confirmed C bigot, but for this type of thing,
> processing files and
> html and other random bits of info, I think Perl wins hands down.
>
> A look at the Database we were talking about and plans to
> parse it is a
> perfect example.
>
> This will probably take 1/4 the code in perl to do this than with C.
>
> As soon as we can get it posted someplace, I'll get started on that.
>
> I plan to split the different record types out into different files.
>
> Just to keep it simple, look at the file descriptions just posted.
> many of the files have multiple record types:
>
> Take AWY.
>
> DESCRIPTION OF THE RECORD TYPES:
> --------------------------------
>
> 'AWY1' RECORD TYPE CONTAINS THE BASIC AND MINIMUM
> ENROUTE ALTITUDE(MEA) DATA FOR EACH AIRWAY POINT/SEGMENT.
> THERE IS ONE AWY1 RECORD FOR EACH AIRWAY POINT/SEGMENT.
>
> 'AWY2' RECORD TYPE CONTAINS THE AIRWAY POINT DESCRIPTION.
> THERE IS ONE AWY2 RECORD FOR EACH AIRWAY POINT.
>
> 'AWY3' RECORD TYPE CONTAINS THE TO CHANGEOVER POINT NAVAID
> DESCRIPTION (VOR AND JET AIRWAYS ONLY).
> THERE IS ONE RECORD FOR EACH TO CHANGEOVER POINT NAVAID
> DESCRIPTION.
>
> 'AWY4' RECORD TYPE CONTAINS TEXTUAL INFORMATION REGARDING
> REMARKS ABOUT THE AWY POINT DATA. EACH AWY4 RECORD
> CONTAINS ONE LINE OF TEXT. THERE CAN BE 0 TO 2 AWY4
> RECORDS.
>
> 'AWY5' RECORD TYPE CONTAINS TEXTUAL INFORMATION REGARDING
> EXCEPTIONS TO THE STANDARD AWY CHANGEOVER POINT DATA. EACH AWY5
> RECORD CONTAINS ONE LINE OF TEXT. THERE CAN BE 0 TO 2 AWY5
> RECORDS.
>
>
> It would be much better from a database viewpoint to have all these
> different record types in different files or tables and relate
> them to each other than to try and dig thru and parse this jumble
> of stuff every time you need a piece of data.
>
> Marc
>
>
>
>
>
> -
> Archives of linux-aviation:
http://mail.nl.linux.org/lists/linux-aviation/
To unsubscribe: send the command "unsubscribe linux-aviation" in the body
of a mail message to <Majordomo@mail.nl.linux.org>.
-
Archives of linux-aviation: http://mail.nl.linux.org/lists/linux-aviation/
To unsubscribe: send the command "unsubscribe linux-aviation" in the body
of a mail message to <Majordomo@mail.nl.linux.org>.