Search found 235 matches
- Mon May 26, 2014 4:13 pm
- Forum: Scripting
- Topic: average over time
- Replies: 12
- Views: 6403
Re: average over time
HP -- a couple of things: 1. The reason you have 8 pixels is because ADDE servers only return multiples of 4 for the number of pixels in a line, so even if you ask for 2x2, you will get 2x4, although you might check the values as the server might be returning nulls for the "extra" pixels, ...
- Sun May 25, 2014 2:07 am
- Forum: Scripting
- Topic: average over time
- Replies: 12
- Views: 6403
Re: average over time
Is one of the imgSeq items null? How about printing out the domain or the whatTypes() as you loop through? Also, my example will not work at all if the first item in imgSeq is null...
- Sat May 24, 2014 7:01 pm
- Forum: Scripting
- Topic: average over time
- Replies: 12
- Views: 6403
Re: average over time
Sorry, HP. the "clone" should be "clone()" -- that's why it said "instancemethod" in the error message... So the line should read:
Code: Select all
imgAvg = imgSeq[0].clone();
- Fri May 23, 2014 8:18 pm
- Forum: Scripting
- Topic: average over time
- Replies: 12
- Views: 6403
Re: average over time
HP -- Something in one (or more) of your image domains is not compatible with the other(s). I suggest that, as you read the image files, you print out the domain set....something like: print getDomainSet(imgSeq[i]); or more completely, look at the complete structure: print whatTypes(imgSeq[i]); and ...
- Thu May 22, 2014 6:05 pm
- Forum: Scripting
- Topic: average over time
- Replies: 12
- Views: 6403
Re: average over time
To follow on to what Mike said: Most, if not all, the library functions deal with data objects that are obtained using other library routines -- and these are usually of the type visad.FieldImpl or visad.FlatField (or extensions thereof). When you create a Python list ("array") of objects ...
- Sat Apr 05, 2014 11:08 pm
- Forum: General Questions
- Topic: a simple lon,lat, value file
- Replies: 15
- Views: 9993
Re: a simple lon,lat, value file
McIDAS-V supports "text files" as a valid input format for point data. Take a look at: <http://www.ssec.wisc.edu/mcidas/doc/mcv_guide/1.4/index.php?page=data/TextPointData.html> There are several variations which are shown in the above link....I hope one of them meets your needs. In all ca...
- Tue Dec 10, 2013 5:55 pm
- Forum: General Questions
- Topic: tutorial satellite imagery
- Replies: 46
- Views: 19495
Re: tutorial satellite imagery
We have resolved this issue for Rosario. (I should add that using Skype desktop sharing remotely so I could see her desktop was extremely helpful!). While we did initially remove the "mcservl" entries from the "allowed programs" in the Firewall, it appears that the real issue was...
- Thu Nov 21, 2013 4:21 am
- Forum: General Questions
- Topic: Lapse Rate
- Replies: 1
- Views: 1569
Re: Lapse Rate
If your temperature data is in a 3D grid (which is typical for model data), then in the Field Selector, look at the "Formulas" and then "Grid" and "Layer Difference". When you "display" this formula, it will ask you for the field (select the 3D temperature gri...
- Mon Nov 04, 2013 6:13 pm
- Forum: Scripting
- Topic: unicodedata cp437
- Replies: 8
- Views: 4778
Re: unicodedata cp437
The issue is that the XML parsing being used by "writeImage()" needs to explicitly request UTF-8 encoding and not whatever the default is. We have verified this on Windows and OS-X.
I have submitted the change to Unidata.
I have submitted the change to Unidata.
- Fri Oct 25, 2013 3:40 am
- Forum: General Questions
- Topic: need to specify exact domain for image
- Replies: 21
- Views: 8695
Re: need to specify exact domain for image
When you get a chance -- I need more info, so....please use the Chooser to select your image, but you don't need to display it. Then in the Jython Shell, do: a = selectData() and select the image+band from the pop-up widget. Wait a few seconds (it has to read the data) and then do: print len(a) (If ...