Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'output': 0.05; 'mentioned,': 0.07; 'extracted': 0.09; 'statements': 0.09; 'wrapper': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '(given': 0.16; 'commented': 0.16; 'compiler.': 0.16; 'received:mac.com': 0.16; 'valid.': 0.16; 'wrote:': 0.18; 'received:10.0.1': 0.19; 'later': 0.20; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'compilation': 0.24; "shouldn't": 0.24; 'cc:no real name:2**0': 0.24; 'source': 0.25; 'nearly': 0.26; 'downloaded': 0.26; 'asking': 0.27; 'external': 0.29; 'am,': 0.29; 'compared': 0.30; 'originally': 0.30; 'code': 0.31; 'minor': 0.31; 'file': 0.32; 'sources': 0.33; 'copying': 0.34; 'could': 0.34; 'but': 0.35; 'version': 0.36; 'charset:us- ascii': 0.36; 'received:10.0': 0.36; 'two': 0.37; 'received:10': 0.37; 'easily': 0.37; 'nov': 0.38; 'received:17': 0.38; 'files': 0.38; 'changed': 0.39; 'either': 0.39; 'then,': 0.60; 'offering': 0.63; 'different': 0.65; 'effectively': 0.66; 'subject:. ': 0.67; 'between': 0.67; 'equals': 0.68; 'etc,': 0.84; 'header:In-reply- to:1': 0.84; '2013,': 0.91; 'incorporated': 0.95; 'subject:2013': 0.95 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.14,0.0.0000 definitions=2013-11-16_01:2013-11-15,2013-11-16,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1311160078 Subject: Re: Program Translation - Nov. 14, 2013 MIME-version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-type: text/plain; charset=us-ascii From: William Ray Wing X-Priority: 3 In-reply-to: Date: Sat, 16 Nov 2013 09:00:02 -0500 Content-transfer-encoding: quoted-printable References: To: Terence X-Mailer: Apple Mail (2.1510) Cc: python-list@python.org, William Ray Wing X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384610394 news.xs4all.nl 15931 [2001:888:2000:d::a6]:50752 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59606 On Nov 16, 2013, at 4:31 AM, Terence wrote: > I downloaded the packed file mentioned, extracted the files and had a = look > at the Fortran sources given: > ETGTAB.FOR and ETGTAB.F >=20 > The ETGTAB.FOR file had double spacing, which Iremoved automatically, = then > compared the two sources automatically (passing and copying equals and > offering choice between lexically different lines). >=20 > The two files were now very nearly identical, but the .FOR file had = some > CALLs to GEOEXT(IUIT6,DEXTIM) which were commented out in the other; = also > calls to LAHEY timing functions not used in the .F version (and a = minor > change in two format statements which effectively just changed the = shift in > the output report). >=20 > I don't see why not either source (given access to the external = GEOEXT, etc, > fuctions) shouldn't be left for compilation (and later running) by any = F77 > or later compiler. The code is still valid. >=20 Then, use F2PY to put a python wrapper around the code, and it could = easily be incorporated into the python workflow that the OP was = originally asking for. -Bill=