Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #ZJW-428996]: DAY= keyword in ADDE Image Url sometimes wrong



Hi Valentijn-

> Full Name: Valentijn Venus
> Email Address: venus@xxxxxx
> Organization: ITC
> Package Version: 2.5b2 build date:2008-05-07 07:05 UTC
> Operating System: Linux
> Hardware: Java: home: /usr/local/lib/jvm/ia32-jre1.6.0_05 version: 1.6.0_05 j3d:1.3.1
> Description of problem: Hi Don-
> 
> I just traced a bug, maybe two:
> 
> 1) The Data Chooser>Images sometimes misconstructs the image url, adding spaces
> at sometimes critical place in the url:
> 
> Note the space in the DAY= keyword:
> 
> failing:
> adde://obelix.itc.nl/imagedata?&PORT=112&COMPRESS =gzip&USER=idv&PROJ=0&VERSION=1&DEBUG=true&TRACE=1&GROUP=MODIS&DESCRIPTOR=MOD06_AP&BAND=50&LINELE=1015 677&PLACE=CENTER&SIZE=2030 1354&UNIT=RAW&MAG=1 1&SPAC=4&NAV=X&AUX=YES&DOC=X&DAY=2007-0 3-06&TIME=11:35:00
> 
> working:
> adde://obelix.itc.nl/imagedata?&PORT=112&COMPRESS =gzip&USER=idv&PROJ=0&VERSION=1&DEBUG=true&TRACE=1&GROUP=MODIS&DESCRIPTOR=MOD06_AP&BAND=50&LINELE=1015 677&PLACE=CENTER&SIZE=2030 1354&UNIT=RAW&MAG=1 1&SPAC=4&NAV=X&AUX=YES&DOC=X&DAY=2007-03-06&TIME=11:35:00

I'm really surprised that this happens.  The dates are formatted by the Java SimpleDateFormat
class and there should be no way to put in a space.  Are you sure this is not the result
of a cut and paste on the URL?  Can you give a specific case where this happens?  Do the
dates have the space when they are listed in the chooser?

> Btw, i've found more space in the "wrong" url, but these were not critical.
> 
> 2) The dimension of this dataset varies per BAND, sometimes it's 203x406 (5km) and sometimes it's 2030x1035 (1km)
> 
> I can see IDV only detects the first properly, and then seems to assume the remaing BANDS all share the same dimensions.
> Which is wrong, as you can see from the MODS ADDE server in McIDAS:
> 
> int 		TERRA_CLOUD_TOP_BAND_RES[55]  =
> {5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 5000, 5000, 5000, 5000, 5000, 5000,
> 1000, 1000, 1000, 1000, 1000, 1000,
> 1000};
> 
> I hope this is clear.

When you select a different band, does the size change in the chooser?  Or is this
when you do select all bands?

Don

Ticket Details
===================
Ticket ID: ZJW-428996
Department: Support IDV
Priority: Normal
Status: Open


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690