2004-10-21 09:00 PM angleunits.pro Added support for string output, and fixed bug in calculation of angles in time format. 2004-10-21 09:00 PM subarray.pro Added support for string arrays. 2004-09-02 17:00 PM plotearthskymap.pro For fisheye plots point sources with outside maxelo are not plotted anymore. Reworked the determination of the circle sizes for the point sources, and added some keywords to control them. 2004-09-02 17:00 PM vu_earthskymap.pro Now applies radial filter to brightness for point sources, in addition to skymap. 2004-08-13 13:00 PM getskymap.pro Fixed bugs in calculations for g-level and Thomson scattering brightness. Renamed to integratelos.pro 2004-07-17 14:00 PM gunzip_file.pro Added option to put temporary unzipped file in ramdisk. The option is now used by bin_read, smei_frm_read and smei_frm_get. 2004-03-05 04:00 PM burndisk.py, burnfiles.py Gone through fairly major rewrite to deal with the burning of SMEI DVDs. 2004-02-08 08:00 PM smei_buf_prep.pro, smei_buf_l1a.pro, l1a.py Added some code to smei_buf_prep to intercept (and skip) clone frames in the same L1A files. The new check is activated by adding the keyword /noclones to the IDL procedures, and -noclones to l1a.py 2004-02-01 00:00 PM time*.pro routines Changed time structure to be more compatible with SSW. In principle the change could affect all IDL routines that deal with time. The new setup is (almost) backward compatible with the old one. 2004-01-08 01:00 PM T3D_header (foripsd.f) Added entry to header array specifying the UT in addition to the Carrington time assigned to the data in the file. Note that the time calculated here in Fortran could differ up to a couple of minutes from the time calculated in IDL (which probably is the better one). 2003-12-18 01:00 PM insitu.pro, insitutimeseries.pro Keyword /omni was changed to /somni (this still is the default). Added keyword /eomni. The new keyword uses the full OMNI data base, containing a couple of geomagnetic indices in addition to the usual solar wind parameters. Insitu.pro now also provides DST and KP if /eomni is set. 2003-12-04 12:00 AM www_help_get_info.pro Modified check for existence of ftnchek executable. 2003-12-03 08:00 PM bRead_WSO (formap.f) Modified to read FITS files produced by wso_write.pro. To use the FITS routines the library libcfitsio.a needs to included in the compilation. For g77 add -L$for -lcfitsio to the compile command (-L$for should be already present if you are using libgen.a). 2003-12-03 08:00 PM wso_write.pro Modified to write FITS files in addition to ASCII WSO files 2003-11-28 03:00 PM vu_write.pro Modified to avoid presence of two files both referring to the same time (an old gzipped file and an newly created unzipped file) in the destination directory. 2003-11-20 05:00 PM Various IDL read procedures Renamed some of the read and write procedures after making calling sequence more uniform. bread_wso -> wso_read, bwrite_wso -> wso_write, readimg -> img_read, sfltarr -> flt_read. 2003-10-13 05:00 PM mag_noaa.py Modified to exclude photospheric maps with data gaps. 2003-10-13 02:00 PM wbinarr.pro, sbinarr.pro wbinarr.pro renamed to bin_write.pro sbinarr.pro renamed to bin_read.pro readascii.pro renamed to txt_read.pro 2003-10-10 04:00 PM bread_wso.pro Added keyword 'bad' to call to sfltarr to intercept values -9999.90 and 9999.90 in the NOAA WSO files as bad. Xuepus hcss program was interpreting theses as valid magnetic field values. 2003-10-10 04:00 PM sfltarr.pro Added keyword bad=bad 2003-09-25 13:00 PM GridSphere3D (forgen.f) Added option to use lookup table for calculation of Gaussian. 2003-09-22 06:00 PM GridSphere3D (forgen.f) Increased size of scratch arrays from 325*61*20 to 1800*900*1 2003-09-06 00:00 PM guessrecs.pro Bug fix. 2003-08-03 00:00 PM MapReadTimes (formap.f), MapReadSingle (formap.f) Bug fix. Changed order of two XCBeg,XCEnd pairs in call to SplineGridX (XCEnd should come first). 2003-07-20 00:00 PM smei.setup_env Added env variables to support J. Tappins Aitoff software in SSW. 2003-07-16 02:00 PM write3d_infotd3d.f Added T3D_set call to insert radial normalization powers. 2003-07-11 17:00 PM forecast_movie.pro, vu_movie.pro Adapted to make remoteview movies with HCS embedded. 2003-07-11 17:00 PM forecast.pro Removed production of correlation plots from ea* and e3* files 2003-06-22 17:00 PM Write3D_bbt Prefixes for magnetic output files are now extracted from include file b3d_param.h ('wsoo' for WSO files, 'wson' for NOAAs WSO files, 'nson' for NOAAS NSO files). 2003-06-22 17:00 PM sfltarr.pro, vu_header.pro, vu_check.pro Modified to handle .gz files transparently. 2003-06-21 22:00 PM vu_vox.pro The names of the vox files produced by vu_vox now contain a postfix _n, _v, etc. to indicate the type of volume data. 2003-06-20 16:00 PM SuperArray.pro Fixed bug adding to array with trailing dummy dimension 2003-06-19 12:00 AM smei_buf_*.pro Removed support for extracting parts of frames (i.e. dark current columns, pedestal columns, etc.) from L1A files. 2003-06-18 00:00 AM ipsdt.f, Write3D_bbt Modified to process multiple magnetic data specs on command line. The loop to process multiple data in located in Write3d_bbt. 2003-06-18 00:00 AM ipsd.f, Write3D_bb (formap.f) Modified to process multiple magnetic data specs on command line. The loop to process multiple data in located in Write3d_bb. 2003-06-14 03:30 AM BField_Choose, BField_Get (formap.f) Merged into single routine with two entry points. Modified to handle multiple magnetic data specs on command line. 2003-06-14 03:30 AM ForeignFile (forgen.f) Added option to input negative nVar (to suppress using default setting for key). 2003-05-22 05:30 PM idl_startup.pro Modified to allow access to part of SSW (e.g. fits reading routines). This only adds parts of the SSW tree to the IDL path. To run SSW in full use the alias sswidl to start IDL. 2003-05-22 04:30 PM sfltarr.pro Efficiency improvements. 2003-05-13 04:00 PM xhcs.pro Added keyword /addfirst to BReadWSO call. This removes an inconsistency in the source surface file produced from the WSO files: the start and end longitude in the file was 5 deg different from the longitude code into the filename. 2003-04-13 04:00 PM MapReadTimes (formap.f) Added a check to intercept case where only one matching Carrington map is found in the specified time range (the interpolation over time in SplineY aborts the program in this case). 2003-04-13 04:00 PM BRead_WSO (formap.f) Modified to accept wso*.dat.gz files directly. 2003-04-12 10:00 PM xuepuscode.pro, bread_wso.pro Modified to accept wso*.dat.gz files directly. 2003-04-12 10:00 PM readimg.pro Modified to accept .gz zipped images without the need to unzip them first. (the files are unzipped on the fly to temp files that are deleted after processing). 2003-04-10 10:00 AM ipsd.f If no V (or G) deconvolution is requested and no V (or G) data are available then the requested deconvolution is now switched off, and deconvolution continues using only G (or V) data (instead of aborting the program). 2003-03-30 10:30 AM bReadNic (forgen.f) Modified to process *.nic.gz files (by spawning a subprocess calling gzip). 2003-03-25 07:50 AM set_page.pro, get_page.pro Modification to handle z-buffer and display. spitplot has been renamed get_page. 2003-03-14 17:00 PM findallfiles.pro Efficiency improvement (removed explicit DO-loop) 2003-03-11 08:00 PM bReadNic (forgen.f) Modified to handle trailer from SMEI frames. 2003-03-10 01:00 PM boost Modification to make the procedure work for structure input 2003-02-11 01:00 PM qImage_cw_* Extracted couple sections of code representing generally useful calculations. qimage_boxcentroid.pro is now flat_centerofmass.pro. qimage_cw_wedge.pro is now a short interface to wedge_bounding_box.pro. qimage_cw_zwedge.pro is now a short interface to wedge_content.pro. 2003-01-20 03:30 PM qimage_cw_state__define.pro Changed structure elements img_size and img_offset from short to long integer. The short integer caused problems for large zoom factors: zoom*img_size gets very big. 2003-01-16 04:30 PM bHOSInquire.f Photometer values are now tested for values 1,2,3, if necessary, after swapping bytes. This should allow the routine to work when Helios files created on VMS, Windows or Linux are opened on a Unix machine and v.v. 2003-01-15 02:00 PM vu_image.pro Added option to write to png file. 2003-01-15 02:00 PM setlog2dir.pro Deleted 2003-01-13 05:00 PM bwrite_wso.pro, bread_wso.pro Modifications to deal with bad values (NaNs). These occasionally appear in the output files from Xuepus program. 2003-01-13 05:00 PM bwrite_wso.pro Bug fix. The routine replicated the wrong record at the end of the file when the number of longitudes in data is 72. 2002/12/23 04:00 PM ephem subdirectory Moved from $smei/sat/idl to $smei/gen/idl 2002/12/22 04:00 PM jpl_state Bug fix 2002/11/26 05:00 PM dailyips.f, nagoya_glevel.pro, run_glevel.pro Added calculation of g-levels from Fuji scint indices in addition to Kiso. Format of yearly IPS files was modified to store the additional g-level data. The main IDL program run_glevel.pro now uses the lowest g-level of Kiso and Fuji as the 'best' g-level (to be used in the tomography). 2002/11/14 07:00 PM alignheliosphere.pro, vu_mean.pro, vu_gettime.pro forecast_map.pro Added keyword /nowrap. Prevents AlignHeliosphere to do a mod 360 operation when aligning matrices to start at the same heliographic longitude. Instead the map is completed by adding bad values at the start and/or end of the map. 2002/10/29 11:00 PM AskR8, AskLimit Modified to allow AskR8 to return user-input at full precision (instead of only single precision). 2002/10/22 06:00 PM forecast_cfg.pro, forecast_html.pro Added automatic detection of local time offset with UT (Unix only). Note that forecast_html needs to be rerun when daylight savings time starts or ends. 2002/10/21 09:00 PM remoteview_earthorbit.pro Fixed bug in orbit calculation by adding /heliocentric keyword to NewcombSun. The problem only was visible for viewing locations extremely close (within a few earth radii) of Earth. 2002/10/12 02:00 AM vu_insitu.pro Dropped /earth keyword and associated code for comparing timeseries from nv3d* and ea* files. 2002/10/10 02:00 PM vu_insitu.pro, PlotInsituCurve.pro Renamed conflicting keywords ut_range used in both procedures. Changed to ti_range in vu_insitu and tx_range in PlotInituCurve. 2002/10/08 08:00 PM sync_daily_ips, sync_realtime_ace Rewrite of download section. Now uses Perl script mirror. Mirror does more error checking and obviates the need for a .netrc entry. 2002/10/08 08:00 PM dailyips.f Fixed bug in detection of duplicate IPS observations. Sometimes duplicate records were left in the yearly files when merging new daily IPS files. 2002/10/08 03:00 AM extractd3d.f Modified name of output e3* file. The time coded into the file name now is XCcntr instead of XCstrt (XCcntr = XCstrt+0.5). Also added a marker value to the name to be able to associate the e3 file with the proper nv3f and bb3d files. 2002/09/28 01:00 AM BListAll (formap.f) Did not properly identify more recent version of the NOAA source surface file if the file time changed with the version number. Instead we now test for the start longitude. 2002/09/28 01:00 AM ipsdt.f, write3d_infotd3d.f, write3d_bbt.f Added output arguments XCTT, XC3DT, to write3d_infotd3d needed by write3d_bbt to calculate magnetic field. 2002/09/27 01:00 AM T3D_header, ExtractInsitu (foripsd.f) The addition of the Carrington time to filenames is now handled by a separate function T3D_filename. nv3d* and ea* file names are now constructred in exactly the same way. 2002/09/23 11:00 PM T3D_header (foripsd.f) Added separate entry for file name prefix to header. 2002/09/16 05:00 PM vu_select.pro Replaced call to IDL findfile function by call to FindAllFiles. This may help bypass the problem with the large amount of nv3f*.* files produced by the time-dependent tomography. Findfile sometimes chokes on it; the /forcecd keyword on FindAllFile may prevent this. 2002/09/16 05:00 PM findallfiles.pro Minor impreovements. Added keyword /forcecd work around findfile problem with directories containing many files. Prevented searching through directories for search pattherns that don't contain wildcards. 2002/09/11 05:00 PM forecast_map.pro,forecast_movie.pro,forecast_info.pro These procedures now all use the new forecast_cfg.pro procedure to get values for all parameters relevant for the IPS forecast. 2002/09/09 05:00 PM forecast_www.pro Renamed forecast_info.pro. The template files required by this procedure have been moved from $sys/html to $pro/tool/html 2002/09/09 05:00 PM nagoya_glevel.pro, dailyips.f Slight modifications to deal with the new data format for the Nagoya IPS data (now contain multiple scintillation indices. 2002/09/07 07:00 PM forecast_map.pro, forecast_movie.pro Activated filter keyword for processing of 'bb3d' files. 2002/09/07 07:00 PM run_map.pro, rum_movie.pro, run_mean.pro Added processing of 'bb3d' files 2002/09/07 07:00 PM vu_update_hours.pro Fixed bug preventing processing of anything other than 'nv3d' files 2002/09/07 03:00 PM quick_movie.pro Deleted 2002/09/05 05:00 PM timedelta.pro Fixed bug. If one of the times would be very close to a midnight the difference would sometimes be off by 1 day. 2002/09/04 06:00 PM findallfiles.pro Fixed a problem with output from the IDL findfile function (see findfile_fix). 2002/09/03 12:00 PM All Fortran code Changed use of dollar sign in names of parameters to a double underscore everywhere in the $smei tree (e.g. Sun$AU now is Sun__AU). (dollar sign in variable names is non-standard in Fortran). 2002/09/03 12:00 PM KeplerOrbit (forgen.lib), goniod.f Fixed couple of problems for case-sensitive compilation. 2002/08/30 06:00 PM sync_daily_ips, sync_daily_mag, email_changes Removed explicit calls to bash startup scripts. The same result is achieved in crontab by calling the scripts using the --login keyword on bash, e.g.: bash --login -c "sync_daily_ips" 2002/08/30 06:00 PM run_cmd (bash script) Deleted 2002/08/30 02:30 PM login script $exe and $com are added to the path (used to be done in the .bash_profile script for each user). Also /usr/local/bin (contains soft link for idl) is added if it is not present yet. 2002/08/28 04:00 PM PlotCompareInsitu.pro Added keyword trange. 2002/08/09 01:00 AM BListAll Fixed typo in external declaration. 2002/08/08 08:45 PM BRead_WSO Bug fix. For incomplete files the missing columns were not explicitly flagged as bad, so they contained garbage. 2002/08/08 03:05 PM login Changed the login script on cass185. It now assigns the major env veriables ($smei, $dat, etc.) using command line arguments instead of hardcoding them in the script itself. 2002/08/06 05:30 PM ipsdt.f, Write3d_bb.f tjd changed Bt-computing algorithm to only use V3D, VSS if V3D is bad. 2002/08/06 05:30 PM ipsdt.f, Write3d_bbt.f tjd changed Bt-computing algorithm to only use V3D, VSS if V3D is bad. 2002/08/06 01:00 PM ipsd.f, Write3D_bb (foripsd) Added switch to select different types of source surface maps. 2002/08/06 01:00 PM ipsdt.f, Write3d_bbt.f Added switch to select different types of source surface maps. 2002/08/05 09:00 PM vu_read.pro Modification to allow for reading of files with different number of radial distances. The lowest number of distances is read from each file. 2002/08/03 10:00 PM vu_synopticmap.pro Activated option to generate synoptic maps simulating the way some types of synoptic data are made: assembling the map from strips of data (limb scans, slit along central meridian) taken at different times. 2002/08/03 10:00 PM remoteview_display3d.pro Our home-made rgbo rendering engine (voxel=2) seems to work now. Added option to include depth cueing, and an option to do 'radial cueing' (multiply opacity with a radial distance-dependent function). Added color legend to display, together with minimal annotation. 2002/07/25 05:00 PM forecast_www.pro Rather than looking for whole lines to replace, the procedure now looks for substrings. 2002/07/25 04:00 PM bOpenFile Changed exit error code on open error from 'S' (=1) to 'E' (=2) 2002/07/23 01:00 AM BList_WSO_NOAA, BRead_WSO_NOAA Should be used to access the NOAA version of the WSO files with daily updates. BRead_WSO_NOAA is a one-line interface to BRead_WSO (the file structure is the same). BList_WSO_NOAA takes into account the different naming scheme for the NOAA files and uses the NOAA date file (if present). 2002/07/23 01:00 AM BList_WSO, BRead_SWO Same as old MapList_BField and MapRead_BField. These functions are used to access the standard WSO source surface files. 2002/07/23 01:00 AM N_CARRINGTON (forgen.f) Fixed bug. For times very close to the start of a Carrington rotation the rotation number would be one too high, i.e. not the rotation for the given time, but the one after. 2002/07/23 01:00 AM sfloat.pro Fixed bug for formatting numbers with peculiar exponents. 2002/07/23 11:00 PM elsundistance.pro, synoptictimeseries.pro getsynoptictimeseries.pro, vu_read_b.pro Deleted. 2002/07/20 11:00 PM vu_read_old.pro, vu_convert.pro Deleted. 2002/07/20 11:00 PM forecast_map.pro Fairly substantial rewrite. Processing of time-dependent tomography files should be more reliable. 2002/07/19 06:00 PM vu_select.pro Added keyword /imark. Some efficiency improvements. 2002/07/19 06:00 PM leftmenu.html Replaced by version that doesn't use any Java scripts. 2002/07/19 06:00 PM vu_synopticmap.pro Added interpolation between neighbouring times in a tomographic time sequence (used to truncate to the nearest grid time). 2002/07/19 06:00 PM vu_getdata.pro Modified processing of ut0 keyword. Primarily affects return value of ihdr (should work better when processing output from time-dependent tomography). 2002/07/18 02:00 PM vu_getdata.pro Now explicitly destroys variables hdr and ff before returning, when no data are read (it used to return useless dummy variables). 2002/07/18 02:00 PM vu_type_insitu.pro Changed processing of xysize keyword to allow changing the aspect ratio of plots. This affects all procedures that call vu_type_insitu (e.g. vu_insitu.pro, vu_synopticmap.pro). 2002/07/18 02:00 PM forecast_map.pro Fixed bug. Keyword /sequence to vu_insitu calls was misspelled. 2002/07/12 08:00 PM Write3D_bb (foripsd.f), Write3D_bbt.f Valid magnetic fields are returned only in grid points where the source surface Br and V are both valid. Previously a valid Br in a grid point would require only a valid Br at the source surface, whild a valid Bp would require both a valid Br and a valid V at the source surface. 2002/07/11 04:00 PM $com/check_ips_mail (bash script) Modified test for reception of email from STELab indicating new IPS data are available. Hopefully this can cope with a change of email address of the STELab account where the email is coming from. 2002/07/11 02:00 PM insitutimeseries.pro Fixed bug with keyword delt. If input as a difference time structure delt was converted to hours instead of days. Also updated the documentation, which incorrectly stated that scalar input of delt should be in units of hours (it really is days). 2002/07/06 05:00 PM findallsubdirs.pro Fixed a bug on Linux, when testing a directory containing only a single subdirectory with no other files present. 2002/07/05 07:00 PM vu_synopticmap.pro Added keyword /timeaxis. This adds a timeaxis to the top of the synoptic map (argument is passed to PlotSynopticMap). The keyword is now also required in conjunction with keyword /earth to plot a timeseries at the bottom of the map, and in conjunction with /forecast to plot a vertical dashed line, and the word 'FORECAST' to the left of the dashed line. 2002/07/05 07:00 PM plotsynopticmap.pro Keyword /timeaxis now forces addition of time axis at top of map (was always done before). 2002/07/05 06:00 PM plotcompareinsitu.pro Added keyword /forecast to plot dashed line at plot center, and word 'FORECAST' to the right of the dashed line. These used to be added automatically if keyword 'ut' was set. Procdures that call PlotCompareInsitu (vu_insitu, vu_movie, compareinsitu) also accept this keyword and pass it down to PlotCompareInsitu. 2002/07/05 05:00 PM vx2.exe Renamed to vx.exe; the original vx.exe was deleted. The new version of Volume Explorer has two separate widgets, fixing a display problem with the old vx.exe. 2002/07/03 01:40 PM MapRead_BField (formap.f) Added a check for empty records. An "end-of-file" condition is now indicated by (1) read error, or (2) explicit EOF marker (7 underscores), or, (3) an empty record. Previously an empty record at the end of the file would result in a crash. 2002/06/28 06:00 PM MapList_BField (formap.f) Set conversion factor for magnetic field to nT to 10^3, i.e. we are now assuming that magnetic source surface data are in units of 10^-6 T (micro T). 2002/06/14 06:40 PM XMAP_SC_POS (forgen.f) Fixed bug. The return value (modified Carrington variable) for times very close to the start or end of a Carrington rotation sometimes was wrong by +1 or -1. The modification affects ReadVIPS: it would sometimes truncate selection of IPS sources prematurely. 2002/06/11 03:00 PM AdjustJDCar, ExtractInsitu (foripsd.f) Fixed bug. Function FLINT8 was not declared double precision. 2002/06/04 04:00 PM ipsd (corotating tomography) All subroutines associated with ipsd (= ipsdn360) have been put in the library $for/foripsd.f. The main program was moved to $for/main. The subroutine FillMapL was renamed to FillMap. A subroutine FillMapL is also used by the time-dependent tomography. The time-dependent version is currently identical to the FillMap subroutine in the library. 05:00 PM 05/30/02 WR2DARR Fixed minor bug. Sometimes an unnecessary warning message was displayed suggesting that the input array is modified, when it isn't. 09:46 PM 05/24/02 GridSphere2D Added option (using iBadZ > 10) to deal with open grids in longitude and latitude. 01:00 PM 05/22/02 map_all.h, map_ext.h Deleted 01:00 PM 05/22/02 MapCheckDim, MapGetDims (formap.f) Deleted 06:30 PM 05/14/02 MapRead Was rewritten to read source surface files for the corotating tomography program. The new version does not support GRPACK anymore, and has a substantially different functionality. 06:30 PM 05/14/02 nrSqueezeX, nrSqueezeY Rewritten to allow for a change in the dimension in which the spline interpolation is performed. Argument list has changed. The old functionality is retained by changing the call: nrSqueezeX(XN1,XN2,XM1,XM2,NX,NY,ZN,.TRUE.) becomes nrSqueezeX(1,(XN1,XN2,XM1,XM2,NX,NY,ZN,NX,ZN) (if last argument was .FALSE. in old call, use 0 in first argument of new call). 01:34 PM 05/01/02 vu_update_marker Bugfix. Program crashed when no hourly were present yet in the destination directory. 07:06 PM 04/25/02 FileSelection (forgen.f) Added option to specify multiple wildcard patterns 03:00 PM 04/07/02 remoteview_init_view.pro Fixed bug processing the viewing locations when specified explicitly in combination with /ecliptic keyword (conversion to heliographic coordinates was done twice). 11:31 AM 03/19/02 sun.h Three real*8 parameters were defined using real*4 constant: Sun$SynodicP, Sun$SiderialP and Sun$Spiral. Added 'd0' to each of the constants. 02:38 PM 03/08/02 T3D_header, vu_header Added 2 extra numbers to the ascii headers of the nv3d and bb3d files to allow independent scaling of the two data sets in the file. 11:30 AM 02/11/02 t3d*.pro --> vu*.pro All procedures/functions associated with processing of tomography files are grouped together in directory $smei/sat/gen/util/vupack. This includes all files which had the prefix "t3d_". Now they all have prefix "vu_". 04:50 PM 02/07/02 boost.pro Introduced a new version of boost. The old version was used in sfloat.pro and sfltarr.pro. The new version should behave like the old one if the keyword /push is added. 03:40 PM 02/07/02 SetFileSpec Removed bug causing problems with multi-dimensional arrays of file names. 00:00 AM 02/01/02 www_help package Finally got the package to work properly for analyzing SSW. Cross-referencing now works globally across the separate branches. 00:00 AM 02/01/02 compile_opt.pro Added the 'strict' option to the compiler switches. This means that it is not legal anymore to use round brackets to subscript arrays. If a procedure stops with a syntax error, look for an array subscripted with round brackets, and replace them with square brackets, i.e. A(x) should be A[x]. 01:50 AM 01/31/02 www_help package Removed option to process LIST: section 07:35 PM 01/21/01 do_file.pro Fixed pretty serious bug in the delete procedure on Windows 06:08 PM 01/18/02 FindAllSubdirs.pro Return arg 'Count' now is initialized to zero for a non-existent input directory (wouldn't exist before). 09:10 PM 01/17/02 t3d_header Added /exp to two sfloat calls to read power constants from file (might be in exponential notation). 04:41 PM 01/15/02 sun.pro, sunview.pro Deleted 06:23 PM 01/14/02 qLine.pro Renamed widget qPlot to qLine to avoid conflicts in SSW 06:23 PM 01/14/02 nrZBrent.pro, nrZbrac.pro, nrZbrak.pro Added prefix 'nr' to avoid conflicts in SSW 06:23 PM 01/14/02 mk_flick.pro Renamed mk_movie.pro to mk_flick.pro to avoid conflict in SSW 06:23 PM 01/14/02 timedelta.pro Renamed TimeDiff to TimeDelta to avoid conflict in SSW 06:23 PM 01/14/02 timecore.pro Renamed CvTIme to TimeCore to avoid conflict in SSW 06:23 PM 01/14/02 timexaxis.pro Renamed TimeAxis to TimeXAxis to avoid conflict in SSW 06:23 PM 01/14/02 $smei/user/xuepu, idl_startup.pro Moved directory $smei/idl/xuepu to $smei/user/xuepu. The $smei/idl tree goes into SSW as a whole. We don't want to put xuepu's code there. idl_startup.pro has been modified to add the new directory to the IDL path. 07:14 PM 01/06/02 foripsd.f, foripsdn360.f Identified a number of tomography-related routines in both libraries that are almost certainly obsolete. Renamed them by appending _not to the names. These routines will be deleted sometime in the near future. Extractn360 FixModel MkDensity MkDMap MkDMapn360 MkGModel MkGModeln360 MkPos MkShiftn360 MkVMap MkVMapn360 MkVModel MkVModeln360 MkVObs MkVObsn360 MkXCShifts TraceB Write3DInfopmn360 XGridForecast 01:47 PM 12/07/01 iHOSRead Fixed problem checking error status of read statements (the function sometimes aborted when reaching the end of file). 01:47 PM 12/01/01 pandora.f, average.f, herdisk.f Fixed a couple of minor bugs related to reading and writing of photometer dats. 02:37 PM 11/30/01 t3d_read.pro Added keyword roi_offset 02:37 PM 11/30/01 remoteview_init_view.pro Fixed bug processing /ecliptic keyword when no viewing location or direction is specified. 06:11 PM 11/26/01 t3d_type_insitu.pro Fixed bug. Density and velocity were processed wrong when 'type' keyword was specified. 12:00 PM 11/21/01 sync_daily_ips (bash script) Now sends out two more emails (after completing corotating and time-dependent tomography runs). 12:30 PM 11/20/01 T3D_header (foripsd.f), t3d_array.h Added entry T3D$NOW to t3d_array.h. This holds the forecast time for any tomography run in forecast mode. Added corresponding line to T3D_header which puts an extra line in the header of nv3d and bb3d files. 12:30 PM 11/20/01 set_page.pro Renamed keyword /noinfo to /silent. Modified IDL startup file (which used this keyword) 12:30 PM 11/20/01 spitplot.pro Added keyword /silent 11:36 PM 11/19/01 qview_getdata.pro Fixed limitation in definiton of part of image to be displayed. It is now possible to select a box that extends outside the image (the areas outside the image are set to zero; previously the routine would generate an error). 02:32 PM 09/30/01 t3d_vox.pro Added a number of keywords to allow merging of objects (Sun, Earth, orbit, current sheet) with the volume data (based on Kevin's work). 02:32 PM 09/30/01 plotsynopticmap.pro Fixed a bug in the implementation of /grid keyword (grid points were plotted outside the plot area). Added /draw_contour keyword allowing the used of 'contour' instead of 'tv' to plot the map. 06:14 PM 09/28/01 iOSRenameFile, iOSDeleteFile (os_linux.f) Changed calls to RENAME and UNLINK from subroutine call to function call. The new Absoft f. Linux compiler insists on a function call; g77 accepts both. 08:45 PM 09/26/01 nagoya_glevel.pro Added keyword /whole_year 07:34 PM 09/25/01 sync_daily_ips (bash script) The script now sends the content of new VLIST_UCSD files with IPS data from Nagoya to a couple of email addresses. The email addresses are stored in variable "honcho" defined at the beginnin of the script. 07:34 PM 09/25/01 FLINT Added extra argument EPS to control interpolation near grid lines. Calls to FLINT in any of the libraries were modified by setting the new argument to 0.0. This does not modify their behaviour. 06:42 PM 09/22/01 t3d_update_hours.pro Fixed a problem which prevented recovery from a big gap in the production of daily raw tomography files. The problem was uncovered when no new Nagoya data were received for almost a whole month during August. 05:25 PM 09/05/01 WR2DARR Modified messages to screen indicating that the input array has been modified. 07:17 PM 09/04/01 InsituTimeSeries.pro Added conversion of magnetic field from GSE to RTN (needed for real-time ACE data). 07:17 PM 09/04/01 EulerRotate.pro Removed restriction on Euler angle input when /rectangular is set. 07:22 PM 09/03/01 mk_movie.pro Merged Kevin's mk_mpeg with mk_movie. Mk_mpeg is now obsolete. 08:35 PM 08/24/01 T3D_ReadB Removed first argument 't3d' from T3D_ReadB. 08:35 PM 08/24/01 T3D_write_nv, T3D_write_bb T3D_fill_global, T3D_fill_time The 't3d' argument is still there, but is not used anymore. The t3d array is now saved internally. Access to the array is provided by the new subroutines T3D_get, T3D_iget, T3D_set, T3D_iset, T3D_get_grid. 16:00 PM 08/16/01 iopen_linux.f Removed recl=iRec keyword from open statements for sequential, formatted files. Absoft for Linux chokes on the keyword; g77 apparently just ignores it. 12:27 PM 08/08/01 MapReadSRF Fixed bug in nrInterpol call found by Tamsen. Scratch array for second derivatives was missing. 03:36 PM 08/02/01 flint.f, flint8.f Added a check for zero-weight of a corner. If it is the corner is now skipped. Previously a bad value in a corner with zero weight would return a bad interpolated value. 06:07 PM 07/31/01 sprint.f Added test for OS$LINUX (in addition to OS$UNIX) at two places in the program. See changes made on 03/23/01. 02:51 PM 07/25/01 OSGetDateAndTime (linux version) 23-character output string contained a blank if number of seconds was less than 10, i.e. "10:24: 9.00" instead of "10:24:09.00". As a result iUniqueName sometimes returned a file name containing a blank. This causes a problem for sprint when it tries to spawn the print command. Fixed. 03:18 PM 07/24/01 MapReadSRF Commented a conditional stop statement executed after the first .srf file has been read: if (Iend .eq. mLng) stop 'MapRead: darn, should not have happened' The stop statements is triggered if the input values XCend is very close to an integer value (less than half a grid spacing in longitude) e.g. 1976.01. This is rare, but does happen occasionally in the time-dependent tomography. 09:43 PM 07/20/01 MapReadSRF Removed a redundant call to iGetLun. The logical unit number involved was never released by a call to iFreeLun. Also modified construction of fully-qualified directory using iFilePath instead of iSearch in combination with iSetFileSpec and iGetFileSpec. 09:27 PM 06/20/01 mk_movie.pro Added search for executable in SSW tree 07:00 PM 06/20/01 filparts.h Increased FIL$LENGTH from 80 to 256 06:46 PM 06/20/01 bReadNic, bWriteNic Fixed bugs found by Evan. Still tested for OS$UNIX only to pick the proper read/write method. Now tests for both OS$UNIX and OS$LINUX (OS$LINUX was introduced a couple of months ago to deal with reading of the old binary Helios photometer data files. Chances are that the same bug is still floating around in other subroutines). 06:00 PM 06/15/01 login script Replaced environment variable $soft by $smei. $soft is still around for backward compatability. 06:00 PM 06/15/01 www_help package Fixed a few bugs, and added /anycase keywords for processing of SSW o6:54 PM 06/06/01 Replaced calls to strsplit by calls to strtok in a number of procedures: www_help_check, www_help_calls, www_help_clean www_help_list, www_help_names, findallfiles, t3d_convert, t3d_header. (SSW contains another strsplit procedure, which clashes with the IDL routine). 09:10 PM 04/26/01 plotsynopticmap.pro Fixed bug: keyword /minus_one was missing in congrid call. 10:20 PM 04/19/01 T3D_write_nv, T3D_write_bb Added extra argument cPreFix to set the 4-char prefix to be used to start the name of the output files (the defaults are nv3d and bb3d respectively). 06:17 PM 04/17/01 iReadNagoya The last two yearly files of Nagoya IPS data contain negative velocity -999 to mark bad data. In the years before it was 0. iReadNagoya now rejects velocity which are zero or negative. Before it only rejected zero velocity. 01:06 PM 04/14/01 t3d_select.pro Added keywords /read_all and ff=ff to read selected files 19:26 PM 04/13/01 do_file.pro Modifications to use new IDL5.4 keywords for spawn functions (/hide and exit_status) 08:12 PM 03/23/01 iHOSRead Added a few lines to handle reading of Unix files on non-Unix OS, and v.v. The values of photometer, color and filter need to be checked before they can be used for data selection (byte swapping may be needed). 08:12 PM 03/23/01 CvR4, CvR8 Added lines to deal with Linux. Linux used to be treated as Unix. Linux real numbers are now treated the same as DOS real numbers. Note that we now use OS$UNIX and OS$LINUX to distinguish Unix and Linux. I checked all the libraries for occurrences of OS$UNIX and added a test for OS$LINUX when necessary. 01:00 AM 03/23/01 iopen_linux.f, iopen_win.f For Helios files the record length (internally determined from a call to HOSInquire) was put in the return value. Fixed the problem. 05:21 PM 03/19/01 $pro/idl_kickstart_linux.pro Changed definition of !env from '$' to '' (null string). IDL on cass183 (running RedHat 7.0) produces an error message when executing a command like setenv, '$soft','....'. The error is generated by bash, which doesn't like the $-sign at the beginning of an environment variable anymore. 05:21 PM 03/19/01 $com/idlprint Remove the -hp switch from the print command for Linux boxes printing remotely to the Laserjet III. The new Linux box cass183 chokes on the -p switch. Also removed the 'cd $temp' command from the start of the script: the name of the plot file is supposed to be fully qualified (including a directory), so the cd command should be redundant. 05:53 PM 03/11/01 sfloat Added recursive call to allow input of a string array. 02:19 PM 07/03/01 XMAP_SC_POS, iProcessNagoya,iProcessOoty,iProcessUCSD By default XMAP_SC_POS stops program execution when the input time is outside the range covered by the JDCar array. Now, when nCar is negative, the value BadR4() is returned. This is used in iProcessNagoya, iProcessOoty and iProcessUCSD. 04:26 PM 06/03/01 compareinsitu.pro, readearthfile.pro Introduced three extra keywords to handle extraction of single records from a group of files (this essentially merges Kevins' compareinsitusubset and readearthfilesubset with the older versions) 04:26 PM 06/03/01 t3d_zbuffer.pro The backup copy of the gif files created by t3d_zbuffer are now stored in separate directories for velocity and density data. Accordingly $dat/nagoya/image now contains two subdirectories for each plot type, e.g. synoptic_v and synoptic_n. 07:14 PM 15/02/01 PlotCurve.pro Fixed minor bug. 08:48 PM 14/02/01 arraylocation.pro Added keyword /dimension 03:38 PM 14/02/01 normalfit.pro Changed the main plotting command to use the input arrays directly for plotting. The old command had problems if for constant input arrays. 05:38 PM 01/02/01 rice.for Fixed several bugs in the decompression section which crashed the program on Linux. One was related to format specifiers of type '(I)' which are not allowed on Linux. The other was related to the opening of the output file. 11:16 PM 01/01/31 qview.pro Added two fields in the widget showing the centroid of the current box selection in polar coordinates. Added /return_ev to the two fields for the center of the SMEI fov arc. When these fields are modified then hitting return will move the current box selection accordingly. 11:16 PM 01/01/31 qset_page.pro Added keyword spit for more direct manipulation of graphics output. 11:16 PM 01/01/31 mkd Fixed a bug which did not allow specification of a file type .f. The file type is now completely ignored, and is implicitly replaced by .f. 17:14 PM 01/01/28 bargraph.pro, qbar.pro Changed some of the arguments and keywords. This will cause problems for bargraph calls in old code with arguments defining bin width and minimum bin (these now are keywords). qbar calls bargraph and has been fixed. 07:22 PM 01/01/27 mkd Added capability to enter multiple files for a compilation. 19:53 PM 01/01/23 setfilespec.pro For a wildcard * (i.e. with no file type specified as in *.txt) setfilespec would add a single . as file type. This now only happens in vms. 11:59 AM 01/01/23 sbinarr.pro Added keyword /dimonly. The meaning of /sizeonly was changed and now returns the full size vector, rather than just the dimensions (as /dimonly does now). 12:16 PM 01/01/17 mk_help --> www_help_solar Complete rewrite. New name is mk_help_solar.pro. All required procedures are in directory $pro/apps/www_help. The modified version of IDL procedure mk_html_help.pro is not used anymore and was deleted. 12:16 PM 01/01/17 synopticmap.pro Added /earth keyword. Added interpolation scheme for arbitrary value of radius keyword. 12:16 PM 01/01/17 GetFileSpec.pro Added part=part keyword as an alternative for from=part, upto=part. 11:36 AM 01/01/04 synopticmap.pro Add the earth symbol at the center of the output 07:07 PM 01/01/01 bOpenFile, WR2DARR (forgen.f) Added option to suppress messages displayed by both procedures. 11:00 AM 00/12/13 compareinsitusubset.pro, readearthfile.pro revision of the old compareinsitu, readearthfile. These will analyze a set of ea*.* files with specified time offset 06:12 PM 00/12/12 synopticmap.pro Added keywords ylshow and degrees to manipulate the range of latitudes shown in the synoptic map. 08:07 PM 00/11/04 glevel_nagoya.pro Replaced by nagoya_glevel.pro, a rewrite of Fujikis original program with a few minor problems fixed. 16:44 PM 00/11/04 NagoyaSkyMap.pro, NagoyaSourceMap.pro, EarthSkymap.pro PlotEarthSkymap.pro The change to GetNagoyaSources.pro affects all these procedure (the information about IPS point sources is passed down to PlotEarthSkymap.pro). 16:44 PM 00/11/04 GetNagoyaSources.pro Now returns information about point sources in a single keyword as an array of structures rather than as a number of separate keywords. 16:44 PM 00/11/04 ReadImg.pro Added capability to read PNG files. 16:44 PM 00/11/04 Set_Page.pro, spitplot.pro, qSet_Page widget Added option to save a window as a PNG file. 00:18 AM 00/11/02 Set_Page.pro Fixed bug in device command for HP printer: just setting keyword portrait=0 does not put the printer in landscape mode. Now the keywords portrait and landscape are both specified with one set to zero and the other set to one. 06:48 PM 00/10/24 ReadEarthFile.pro Now can also read single records from a group of ea* files 01:47 PM 00/09/12 qskyimage_changecoordinates.pro The latitude field for Earth displayed longitude instead. Bug fixed. 05:22 PM 00/09/07 sfltarr.pro Add double_prec=double_prec keyword to three sfloat calls. 05:24 PM 00/09/05 earthskymap.pro Fixed bug with processing of breakval keyword. 04:38 PM 00/09/05 extractpmn360.f (foripsdn360.f) Changed name of output ea* file by dropping two digits indicating heliocentric distance (ea00_1965.00 now is ea_1965.00). 03:50 PM 00/09/01 mkshiftd.for copy the new version of mkshiftd.for from cass180 to cass185 to directory td1, td2. The old version is named mkshiftdold.for. 01:43 PM 00/09/01 earthskymap.pro Changed the default values for betan and betar (PWG and PWR in the Fortran programs. 03:24 PM 00/08/31 earthskymap.pro, synopticmap.pro If user specifies density, then the color table #3 (red) will be loaded for both of these program. Density is specified by red. 10:48 AM 00/08/30 rice_unpack.pro in the commenting header section of rice_unpack.pro, ice_unpack is called by ice_read 06:06 PM 00/08/28 rice_pack.pro, rice_unpack.pro instead of returning ibit, rice_pack will return ice_pack, larger than ibit by 1. Also for rice_unpack.pro, rice_unpack will return ice_unpack instead of ib. ice_unpack is larger than ib by 1. 03:47 PM 00/08/25 CompareInsitu.pro Added option to plot only times inside range specified by keyword ut_range. 08:06 PM 00/08/23 iGetFileSpec (forstr.f) Extra checks to prevent writing past length of output string. 08:06 PM 00/08/23 bOpenFile (forgen.f) Minor change to informational message when opening file. 09:00 PM 00/08/21 run_forecast.pro Collected variables setting y-ranges for compareinsitu, and contour levels for synoptic map at the beginning of the procedure. 08:45 PM 00/08/21 $com/sync_daily_ips Added a check for error code 1 after the sorting program daily_ips exits. This identifies the condition that new daily IPS files arrived containing only headers and no new data. In this case the tomography does not need to be run. 07:17 PM 00/08/19 set_page.pro When used with the /setup_only keyword set_page creates an empty plot file which never gets printed. Added a fix that closes and deletes the plot file. 06:24 PM 00/08/19 nagoyaskymap.pro Procedure didn't pick up the glevel values for the individual sources when keyword /density was set. 06:24 PM 00/08/19 plotearthskymap.pro Now places a label above the sky map identifying the data 06:24 PM 00/08/19 compareinsitu.pro, [o]plotcompareinsitu.pro compareinsitu accepts a scalar string keyword to set the label for the tomography data. The label keyword to plotcompareinsitu was modified to allow it to override the default 'co-rotating' label with the one specified in the call to compareinsitu. oplotcompareinsitu now places labels at the same height as plotcompareinsitu; 06:24 PM 00/08/19 $com/sync_daily_ips The script now checks for new email twice. At the start of the script it only checks for the presence of new email from STE Lab. After the new data have been downloaded successfully it checks again and adds the new email to the email log (indicating the email has been processed already). 06:00 PM 00/08/16 write3dinfopmn.for (foripsdn360.f) Strings identifying data arrays were changed to match the requirements of the IDL procedure t3d_read used to read the t3d* output files. 14:06 PM 00/08/16 idlprint To avoid overwriting the idl plot file when many users are using idl, idlprint will only print the file that is specified as an argument to idlprint. The filename will be a random name so it will be different from the idl plot file of other users. This is a to avoid writing to the plot file of other users. idlprint will delete the plot file just before exiting the program. 14:06 PM 00/08/16 set_page.pro Add a call to the subroutine randomu(s) so the file created by set_page.pro will create a file with random name rather than idl_hp. Changes are made on line 82. 22:43 PM 00/08/15 ice_* (forgen.f, forbytes.f) Added Rice compression functions. 11:33 PM 00/08/14 sprint_setup script Now sets up different print commands depending on the host, based on the assumption that cass185 prints locally and cass180 remotely to the HP Laserjet III. 06:47 PM 00/08/14 Extractpmn360.f (foripsdn360.f) Removed 00 prefix from ea00_* file. Now is ea_*. 05:54 PM 00/08/14 sprint.f Write statements to the scratch file were changed by adding a CR (carriage return) at the end. This was needed to get a correct hardcopy of the input file. 03:20 PM 00/08/14 bOpenFile OPN$NEW can now be used in conjunction with OPN$NOPARSE to bypass the call to iSearch in bOpenFile. 04:43 PM 00/08/13 Sort*, Sort2*, Index* Fixed a problem with testing values of arrays out of bounds. Wasn't a problem on VMS, but apparently is with Absoft Fortran on NT. 02:18 PM 00/08/09 findallfiles.pro Added keyword /recursive to support recursive searches through a whole directory tree. 06:06 PM 00/08/08 run_forecast.pro Instead of reading the tomographic t3d file for each map, it now reads the file into an anonymous structure, and passes this to the procedures creating the maps. 05:15 PM 00/08/08 synopticmap.pro, earthskymap.pro, nagoyaskymap.pro Added option to specify an anonymous structure as first argument instead of a file name. 05:15 PM 00/08/08 t3d_read.pro, t3d_read_b.pro Added keyword and 2nd argument to pull out data in an anonymous structure. 12:40 PM 00/08/07 t3d_zbuffer.pro Added keywords /speed and /density. If one of these is set then _v or _n is appended to the names of the gif files. Also added /dirgif keyword to control output of gif files. 12:40 PM 00/08/07 EarthSkyMap.pro Changed keyword /glevel to /density to be consistent with similar keyword in other procedures. 12:40 PM 00/08/07 PlotCompareInSitu.pro Added /nocorr keyword to suppress the correlation plots (i.e. only the two timeseries for density and velocity are plotted). 12:40 PM 00/08/07 InSituTimeSeries.pro Fixed bug: procedure crashed when no in-situ data were found. Introduced extra return when no data are found. 06:08 PM 00/08/06 OSGetDateAndTime (os_linux.f, os_unix.f) Changed I2 to I2.2 in the print format to avoid spaces in the day, hour and minute fields. 06:08 PM 00/08/06 ForeignArg (forgen.f) Modified to check for pairs of switch characters. A pair is interpreted as a single literal switch character, i.e. it is not interpreted as the start of a switch. 06:40 PM 00/08/05 $pro/www Reconfigured the IPS forecast setup. Created a directory $soft/html/forecast, which contains all the html and gif files needed for the forecast homepage. The directory $dat/nagoya/www has disappeared; instead all the files that are updated by the forecast cronjobs are written directly to $soft/html/forecast. 06:40 PM 00/08/05 Home page on CASS185 Set up a symbolic link 'html' in /home/httpd pointing to $soft/html. This is now where all the web stuff on CASS185 is located. 06:08 PM 00/08/03 $com/olb Olb now writes a line into a log file $sam/olb.log containing the time of the last time the object library $for/libgen.a was modified. 06:08 PM 00/08/03 CompareInsitu.pro Added keyword /noplot to suppress graphics output to screen. 12:21 PM 00/08/01 SpitPlot.pro, $com/idlprint Updated by Kevin to work on Linux. The procedure for Linux is similar to the VAX: a script is spawned which adds leading and trailing escape sequences and then issues an lpr command. 12:20 PM 00/08/01 TimeSet.pro Added keyword month=Month. Keywords imon=iMon and cmon=cMonth are now obsolete. 3:55 PM 00/07/29 iFile2Dir, iDir2File (forstr.f) updated to deal with Unix and DOS 3:27 PM 00/07/29 iCheckDirectory (forgen.f) added one line at the start: if (iFile2Dir(cDir, cFile) .eq. 0) cFile = cDir 3:36 PM 00/07/26 CompareInsitu.pro Interchanged first two argumenents: ut, filename --> filename, ut 7:31 PM 00/07/12 DailyIPS Modified to add the scintillation index as an extra column after the g-levels when sorting the VLIST_UCSD* files into yearly Nagoya.* files. 7:46 PM 00/03/29 Set_Page, SpitPlot Added option to save as GIF or BMP file 6:51 PM 99/10/20 bOpenFile (Forgen.f) Fixed bug in open procedure for new files on VMS. If the requested file name already exists, a new file is opened with a higher version number (it used to abort with an open error). 7:23 PM 99/10/14 WR2DARR (Forgen.f) Added a check for values that don't fit the specified output format; these are now flagged as bad. 5:35 PM 99/09/17 GetColors Added /badforeground and /badbackground keywords 7:38 PM 99/09/08 ArrR4NARN, ArrR4NAIN (Forgen.f) Renamed functions to ArrR4Bad and ArrI4Bad (ArrR4Bad already existed actually; only ArrI4Bad is new). 12:42 PM 99/09/03 WR2DARR (Forgen.f) A new file now receives an additional line in the header containing the value used to replace BadR4() values. 2:45 PM 99/08/26 ProbeIPS (Formap.f), EarthEcl (Forpltg.f) Removed two open statements with carriagecontrol='LIST' in them, and replaced them by bOpenFile calls. 9:46 PM 99/08/24 bOpenFile (Forgen.f) Fixed a bug for opening 'UNKNOWN' files. If the file didn't exist, it would always return a .FALSE. open status. 7:47 PM 99/08/24 Str2Str (ForStr.f) Added one line before returning to prevent the return value of Str2Str to be larger than the length of the target string (string being written to). 7:25 PM 99/08/24 iFilePath (ForStr2.f) If entries in the subdirectory array start with '$' a logical translation is attempted. If unsuccesful the dollar sign is stripped of and ignored. 8:21 PM 99/08/19 IPSFuncQ Code was present in FORGEN.F and FORIPSD.F. Deleted it from FORIPSD.F. 6:00 PM 99/08/12 GetColors.pro Added check for bad values in the input array. GetColors now returns -1 for in the corresponding position of the output array of color indices. 5:56 PM 99/08/12 ColorSkyBox.pro Added check for negative color indices (these are never colored in). 5:18 PM 99/08/06 AddInsitu.pro, Insitu.pro, InsituSc.pro Modified to work with OMNI data, including magnetic field in RTN coordinates 8:42 PM 99/07/07 MAP_HCS Removed bug in setting the latitudinal scale. It assumed the latitude range for the synoptic map range was always -70 to +70 degrees. The actual range depends on the input value of LatCs. 8:25 PM 99/07/07 MapReadSrf Crashed reading files with photospheric field. Read statements of the form read (iU,*) Z can't handle input records containing numbers without separating blanks (e.g. '-123.4-123.3'). Replaced these by calls to Str2Flt. 5:57 PM 99/07/02 SetRotations Removed a platform-dependent filename construction by a call to iFilePath. 6:40 PM 99/06/28 KeplerOrbit.pro Replaced calls to _Rotate by calls to EulerRotate 6:40 PM 99/06/28 SkyImage.pro, GlobePosition.pro Updated to display positions of two STEREO spacecraft 5:03 PM 99/06/19 Str2Flt Added a save statement (needed for G77): save lCrumbs, nCrumbs, cCrumbs 1:14 PM 99/06/14 iFilePath G77 chokes on zero-length string specifications such as cDevi(iDevi) where iDevi is a parameter (set in DIRSPEC.H) which is zero on Unix/Linux. The workaround is to set a variable iZero=0 and replace cDevi(iDevi) by cDevi(iDevi+iZero). This doesn't cause a compiler error, since the expression iDevi+iZero is evaluated at runtime. 12:46 PM 99/06/14 iOpenTheFile *** Don't know how to open a file readonly in G77. "readonly" doesn't work; "mode='READ'" doesn't work either. For the time being I disabled the read only option. If these are needed on the PC or VAX a few lines in iOpenTheFile need to be commented/uncommented. 10:17 PM 99/06/12 MapReadSRF Replace open statement by call to bOpenFile. The recordlength was set to zero. This shouldn't be a problem (for an existing sequential, formatted file the record length is not used). 10:05 PM 99/06/12 ReadGIPS Used bAuto directly as a subscript to cError (as in: cError(bAuto)). G77 wants an integer subscript, so I made the necessary change. 9:59 PM 99/06/12 ReadVIPS Used Str2Flt_Int to read a number from a string directly into an integer using Str2Flt. However, if the last argument of Str2Flt is an integer then G77 complains about the type being wrong (usually its a real*4). 8:51 PM 99/06/12 iGetLun, NRGTODEN iGetLun (and some of its entry points) and NRGTODEN don't have any arguments. For G77 these need to specified as: function iGetLun() entry iListAllLun() i.e. the brackets have to be present (VAX and Absoft Fortran don't need them). I added the brackets where needed. 8:05 PM 99/06/12 nrQRomb,nrQTrap,nrQSimp Added a line external Func to three subroutines: nrQRomb, nrQTrap, nrQSimp. All three call nrTrapZD, which takes the external function Func as first argument. G77 wants the external statement (Absoft and VAX Fortran only need the external statement in nrTrapZD itself). 7:13 PM 99/06/12 WR2DARR Replaced the open statements by calls to bOpenFile. The open statements contain the keyword 'carriagecontrol='LIST'. The G77 compiler doesn't accept this. Dropping this keyword means that on VMS the (sequential, formatted) files will be created with the default 'carriagecontrol='FORTRAN'. This could become a problem. 6:56 PM 99/06/12 JPL_INIT Replaced the open statement for the ephemeris file by a call to bOpenFile 2:20 PM 99/06/12 iFltArr The 1st arg of the MVBITS call in iFltArr was a byte array (iRec1). G77 complains that it should be of the same type as the other three args (all int*4), so I replaced iRec1 with one of its equivalences iRec4 (which has the correct type). 2:15 PM 99/06/12 FORGEN.F Linux G77 has a problem with variable-length strings being passed as arguments to functions and subroutines. Apparently the strings are treated as character arrays. When they are used in a concatenation operations the compiler balks, i.e. the following causes a compiler error: subroutine SUB(cStr) character cStr*(*) print *, 'Content of string is '//cStr return end This happens in several places in FORGEN (in particular iFltArr) and no doubt in other libraries as well. I modified occurrences in FORGEN by first copying the content of the variable-length string into a (local) fixed length string, and then concatenating. 5:54 PM 99/06/11 JPL_EPH2 Fixed bug in JPL_EPH2: declared two functions as logical: JPL_INIT, JPL_STATE 5:54 PM 99/06/11 iFltArr Fixed 2 bugs in iFltArr: calls to Str2Str and Int2Str should be calls to Str2StrSet and Int2StrSet, respectively. 5:54 PM 99/06/11 UlyssesOrbit Sort of fixed the call to iFltArr in UlyssesOrbit. It's probably still not quite right (in particular the 2nd argument nAct). 5:43 PM 99/06/10 FORBYTES.F Linux' G77 does not recognize hexadecimal numbers specified as '...'X. Instead it wants Z'...'. This also works in Absoft and VAX Fortran, so I changed all occcurrences '...'X in FORBYTES.F to Z'...' 3:47 PM 99/06/10 sbinarr, ReadImg Modified sbinarr to check for extension .NIC. If found then the image dimension is read from the first four bytes of the file. The file offset is now set internally to 6 bytes (and overrides the input value); also unsigned=1B and aintarr=1B (i.e. the numbers are interpreted as unsigned integer*2). Also modified the call to sbinarr in ReadImg to read .NIC files accordingly (no need anymore to specify any keywords). 9:45 PM 99/06/03 iReadUCSD Fixed bug: 1st argument was iR (record #) instead of iU (logical unit) 5:52 PM 99/05/18 SpitPlot Added common block 'defcolor' from IDL_STARTUP, and now explicitly set !p.color and !p.background after the 'set_plot, TERMDEV' command. This is needed to retain the back- and foreground colors set in IDL_STARTUP.PRO for the terminal device ('X'). After a set_plot,'X' IDL always seems to set !p.color=!d.n_colors-1 and !p.background=0). 5:52 PM 99/05/18 IDL_STARTUP.PRO Added modifications for ABPC (changed data drive, and switched back and foreground colors). 4:13 PM 99/05/17 ReadGIPS.for (ForMap.f) Fixed bug in ReadGIPS: cStr*80 changed to cStr*120 12:39 PM 99/05/10 Bargraph.pro Removed prompts for input (using echo.pro). There now is a widget to manipulate the bargraph. 12:02 PM 99/05/06 Signal.for (ForStr2.f) Now the logfile stays permanently open, rather than closing after each call. There seems to be a problem in NT with opening and closing a file lots and lots of times. Looks like some internal counter (file handles?) goes out of range. Once it does, no more files can be opened, apparently.