[Thread Prev][Thread Next][Index]

LAS version problem



Hi there
     I have been running a customized LAS 6.1.0.2
on a RedHat 7.3 box for a long time and it's working fine.
     Yesterday when I ported my customized code to a solaris machine
which is running another version of LAS ( probaby 6.2), I met a problem.
When I submitted a request to LASserver.pl, I got an error
[Mon Dec 15 13:59:25 2003] Invalid date '28-09-2003'
     I tried different date format like '09-28-2003' or '28/09/2003', but
none of them worked.
     I found the error information was printed by Ferret.pl at subroutine
sub validateDate {
    my $datein = shift;
    my $status = 0;
    if ($datein){
      my $date = new TMAP::Date($datein);
      if ($date->isError && validateNumber($datein)) {
        die "Invalid date '$datein'\n";
      }
    }
    Anybody could help me about this problem?
    My XML request was as following
    <?xml version="1.0"?><lasRequest package="" href="file:las.xml"><link
match="/lasdata/operations/MooringTest"/><properties><ferret><size>.5</size><format>gif</format></ferret></properties><args><link
match="/lasdata/datasets/mb1_nc/variables/wind_speed"/>"<link
match="/lasdata/datasets/mb1_nc/variables/wind_direction"/>"<link
match="/lasdata/datasets/mb1_nc/variables/sal_depth2"/>"<link
match="/lasdata/datasets/mb1_nc/variables/temp_depth2"/>"<region><point
v="-30" type="x"/><point v="40" type="y"/><point v="0" type="z"/><range
low="28-09-2003" type="t" high="30-09-2003"/></region></args></lasRequest>

    Thanks a lot, Ding


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement