Jon and Roland,
Thanks for your responses. I located the problem yesterday which is why the server now works. In the xml files that describe each dataset specified a latitude range as is in the data files:
<arange start=”10.039” step=”-0.036” size=”2085”>
it appears that the non-applet version of the map does not like this and exhibits the behavior I described. There was an area in the Java script on the web source that had ylo = 10.039 and yhi = -64.9979. Once you selected the non applet map the browser you got the “ylo > yhi” message and the browser completely lockup for anything else you tried. The only way to stop the problem was to start a new browser.
I have fixed the problem by setting the range as:
<arrange start=”-64.9979” step=”0.036” size=”2085”>
I am not sure if this has any bad ramifications (not the order in the data files) and would be very grateful for suggestion about the right way to solve the problem.
The residual problems are that the “Select Region” options do not seem to do anything. In this case I can set that option to have no options or remove it all together. I suspect that it may no work because I am not working with a global dataset? I also have the minor problem that for most browsers the map applet shows the data region in colour and the rest of the world in grey. On my own computer (DELL D600, Windows XP and IE6) the whole world map is coloured. I think we can live with this one, however, it does seems rather odd!
Thank you for your comments and would particularly like to know it my adjustment of the “arrange” entry is the right thing to do!
Regards
Peter T
-----Original
Message-----
Peter, Hi,
I am trying to setup a LAS server to serve Sea Surface Temperature data in the Australasian region. After some hand to hand combat with the system, particularly the ferret descriptor file I have a working system http://www.marine.csiro.au/las/servlets/dataset I still need to customize the interface; however, there are a couple of issues relating to browsers:
1. On some browsers the world map appears completely coloured in, and in others the area of the data is shown coloured and the rest grey. Mozzilla seems to work OK on a PC, but we have two “identical” versions of Internet Explorer 6 (6.0.2800.1106) which behave differently. One displays the applet correctly and the other does not. Why is this so? 2. We have had an external client who was able to view and download some data using ie5, and then his system stopped working and he got the message:
LAS server errorYou have encountered an unexpected User Interface error! Please click here to return to the Datasets page. If this error persists please contact the LAS administrator for this site. The following error occurred: javax.servlet.ServletException: ylo must be less than yhi
etc
I understand that this might be a browser compatibility error but we cannot understand why it worked and then stopped. We have tried to replicate his problems with ie5 and cannot!
3. I note that some sites using LAS check the browser and determine if it is OK to use. Is there code available to do this? (http://www.nerc-essc.ac.uk/las/) I would appreciate some guidance as to the best way manage these problems. Thanks in advance
Peter Turner
Dr Peter J. Turner CSIRO Marine Research Phone +61 3 6232 5094 Fax +61 3 6232 5000 email Peter.J.Turner@csiro.au
|