Problems with Saratoga mesomaps

Hi John,
It looks like you have an original V2 of the AJAX-WD-World template set, so unless you update to a V3 Base-World/WD-plugin set, the check-fetch-times.php?show=versions may not be very helpful. You can get a complete set of the needed files to convert V2 to V3 by using the V2->V3 conversion tool – it’s a fairly exacting process to merge your mods into the new files, but afterwards, you’ll be able to easily use the update tool to keep the common scripts fresh and tidy.

But… more to your issues cited in the first post:

  1. The Settings.php entries are being ignored
   143:	$SITE['rmMapUseDefaults'] = 'false';
   144:	$SITE['rmNETID'] = 'SCWN';
   145:	$SITE['rmMapZoom'] = '6';
   146:	$SITE['rmMapCenter'] = '56.0, -4.0';

should be

   143:	$SITE['rmMapUseDefaults'] = false;
   144:	$SITE['rmNETID'] = 'SCWN';
   145:	$SITE['rmMapZoom'] = '6';
   146:	$SITE['rmMapCenter'] = '56.0,-4.0';

note that ‘false’ is not the same as false in PHP. The former is a string and in a logical compare evaluates as true (that is non-zero), while the latter is a logical constant and evaluates as false (a zero). That’s likely the reason why your override settings were ignored.

  1. the rotating conditions seem to skip values. This strange behavior is caused by two instances of
setTimeout("RMNET_rotate_content()",RMNETrotatedelay);

being run with slightly different start times. That routine should run once after the page is loaded to begin the rotations of the display (and on your page it seems to be running two instances).
I noticed that a ‘Pause’ and then a ‘Run’ gets it back to doing an orderly transit of the rotating conditions with no ‘skips’. I’ll have to dig into your code a bit more to isolate the cause.

  1. regarding the clientraw.txt location, that’s not something that the mesonet-map scripts use directly – the data for the mesonet-map comes directly from the selected regional network (SCWN in your case), and the SCWN is doing the ‘pull’ of your clientraw.txt every 5 minutes. If the location of the conditions file is incorrect on the SCWN, that’s something that Martin at SCWN to correct. Currently, the SCWN is showing
    Details for Angus Auchterhouse (SCWN-stations-cc.txt record 27):
so it is pulling from ./clientraw.txt and not ./live/clientraw.txt so contact Martin to make that change.

Hope this helps…

Best regards,
Ken