[mesa-users] some postprocessing scripts
Francis Timmes
fxt44 at mac.com
Fri Sep 12 16:44:26 EDT 2014
hi willie,
would you please post these tools on mesastar.org in the “tools and utilities” section?
fxt
On Sep 12, 2014, at 9:26 AM, Willie Strickland <cwskas at gmail.com> wrote:
> I am not a programmer, which will likely be obvious, but have cludged some scripts together that I almost always use at the end of a run, normally by adding to the end of 'rn' such as
>
> #!/bin/bash
>
> pwd
>
> rm -f restart_photo
> date;./star;date
>
> ./save_tgz.sh
> #./save_output.sh
> #./profile_summary.rb
> #./return_ss.rb
>
> I have not shared them sooner, because I wanted to try and 'clean them up' a bit. But that hasnt happened, so here they are as is. I am sure there are more efficient ways to accomplish some of the tasks. Please post improvements.
>
> Willie
>
>
> ==> profile_summary.rb
>
> If called without argument it will give a summary of some of the info (which of course could be customized if one wanted) in all the profiles that have a priority greater than 1. Results are saved to Profile_Summary_priority.txt
>
> If a single argument 'all' is added it will summarize all the profiles and Profile_Summary_all.txt will be saved.
>
> If called profile_summary.rb prof 14 then only profile 14 will be summarized and Profile_Summary_14.txt will be saved.
>
>
> ==> save_output.sh
>
> will save a bunch of files automatically in a timestamped directory. I find this particular useful if I am running some sort of grid. Not much explanation needed, no arguments, customize and go.
>
>
> ==> save_tgz.sh
>
> Is like save_output, but also compresses the files for ftp. I just made this modification yesterday because it makes it simpler to get data off a remote machine.
>
>
> ==> return_ss.rb
>
> requires the reordering of the columns to put the data you want in the first few columns. It creates two files -- return_info.txt which contains the values from the latest run & spreadsheet.txt which includes tab separated info from each of the runs in a grid. Then the whole document can be copied and pasted into a google spreadsheet or whatever. It also echos return_info.txt to the terminal.
>
>
> <save_output.sh><return_ss.rb><save_tgz.sh><profile_summary.rb>------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list