;+ ; NAME: ; run_marker ; PURPOSE: ; IDL main program to update final (averaged) files for the ; time-dependent tomography. ; CATEGORY: ; pro/tool ; CALLING SEQUENCE: ; idl $pro/run_marker ; INPUTS: ; (none) ; OUTPUTS: ; (none) ; CALLED_BY: ; sync_daily_ips ; CALLS: ; vu_update_marker, forecast_ice, vu_prefix ; RESTRICTIONS: ; Can onLy be run on Linux ; idl_startup.pro needs to be run. This requires that the environment ; variable IDL_STARTUP is set. ; PROCEDURE: ; This is run as part of the cron job sync_daily_ips after new ; time-dependent tomography files have been created. ; ; vu_update_marker picks up all files with the highest marker value ; (these should be the files created by the last tomography run). ; All times in this list are combined with all other files for the ; same time (but with lower marker values) into a new 'best' tomography ; files for these times. ; MODIFICATION HISTORY: ; APR-2000, Paul Hick (UCSD/CASS) ; SEP-2002, Paul Hick (UCSD/CASS) ; Added call to forecast_ice to move older files out of the way. ; Added processing of magnetic bb3d files. ; JUN-2003, Paul Hick (UCSD/CASS; pphick@ucsd.edu) ; bb3d files are now called wson files. ;- ;!quiet = 1 ; Suppress informational messages silent = 1 rounds = 1800 kind = 'fast' nv_prefix = vu_prefix(/fast) forecast_env, kind, /magnetic, bb_prefix_fast print print vu_update_marker, nv_prefix, silent=silent, rounds=rounds, /forcecd, /gzip print print FOR i=0,n_elements(bb_prefix_fast)-1 DO BEGIN & $ setenv, 'bb_filter='+bb_prefix_fast[i] & $ vu_update_marker, bb_prefix_fast[i], silent=silent, rounds=rounds, /forcecd, /gzip & $ ENDFOR print print ;forecast_ice, kind, silent=silent EXIT ; Exit IDL