Re: Slow start to AstronomicalData[]David Bailey,http://www.dbaileyconsultancy.co.uk
- To: mathgroup at smc.vnet.net
- Subject: [mg102312] Re: Slow start to AstronomicalData[]David Bailey,http://www.dbaileyconsultancy.co.uk
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Wed, 5 Aug 2009 05:43:35 -0400 (EDT)
- References: <h4p3n3$j82$1@smc.vnet.net> <h4uf8f$j4v$1@smc.vnet.net> <h50sel$6li$1@smc.vnet.net>
Chonny wrote: >> My solution was to collect the data I needed, and save it in a file. >> Then the program read the file at startup, rather than calling the >> relevant .....Data function. >> >> David Baileyhttp://www.dbaileyconsultancy.co.uk > > Thanks, David. In this case there are functions as well as data, > though... Unless I looped to compute solar position vs time-of-day, > date, lat, and long, and interpolated (yuch). > > We have some separate Fortran/C routines for computing solar position, > so I'll probably end up either making command-line utils from them > (and calling from Mathematica), or recoding them in Mathematica itself. > You could dump the function definition - maybe with a change of name - to a file and retrieve that. David Bailey http://www.dbaileyconsultancy.co.uk