Search found 7 matches
- Thu Dec 11, 2014 11:11 pm
- Forum: Scripting
- Topic: Script runs out of memory
- Replies: 1
- Views: 1913
Script runs out of memory
Hello, To briefly summarize, my script tries to read the temperature values at a bunch of weather stations (76) throughout the year. So for each day I create adde urls , access the temperature value using the url and write them to a file. The problem is my script cannot handle more than ~50 days at ...
- Thu Dec 11, 2014 7:28 pm
- Forum: Scripting
- Topic: Script to grab data from all locations in the area file.
- Replies: 0
- Views: 21485
Script to grab data from all locations in the area file.
Hello, I was wondering if there is a way to loop over all the locations in an area file and grab the data from each of them. If so, how memory intensive is the process going to be? (Eventually, I plan to do this for all 366 days of the year 2012) I understand that this depends on the size of the are...
- Sun Nov 30, 2014 4:07 am
- Forum: Scripting
- Topic: Subtracting Images
- Replies: 14
- Views: 8695
Re: Subtracting Images
Hello, I am running into this error, when I try to compute the temperature difference for all the 366 days 22:32:33.397 [MainThread] INFO jython - print: java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space The script is running on a i5 laptop with 4 gigs of ram. I am not sure if ...
- Thu Nov 27, 2014 10:36 pm
- Forum: Scripting
- Topic: Subtracting Images
- Replies: 14
- Views: 8695
Re: Subtracting Images
Tom, Thanks for the clarification. We were able to figure out the same using the data-probe tool present in McIDAS-V where its readout was matching with the first value present in the array. To compensate for the scaling, I divide the value by 10. Thank you for helping with my questions, I now have ...
- Fri Nov 07, 2014 4:35 am
- Forum: Scripting
- Topic: Subtracting Images
- Replies: 14
- Views: 8695
Re: Subtracting Images
The ADDE servers can return a very small region (say, 1x1 -- although the servers will return a 1x4 set of data, since the number of elements must be a mulitple of 4) and you can request the data at a particular latitude / longitude coordinate so your program/script would not have to do any navigat...
- Thu Nov 06, 2014 6:14 pm
- Forum: Scripting
- Topic: Subtracting Images
- Replies: 14
- Views: 8695
Re: Subtracting Images
Hello Bob, Firstly, thanks for responding quickly. From your reply, it seems like the netcdf files won't be having any navigational data in them ( Unlike the area files with their NAV block). Is that a fair understanding? My aim for computing the difference is that at a later stage I plan to write d...
- Wed Nov 05, 2014 8:25 am
- Forum: Scripting
- Topic: Subtracting Images
- Replies: 14
- Views: 8695
Subtracting Images
Hello, I am trying to find out a way to subtract Ch4 image - Ch2 image ( temperature values) for each day and save the temperature difference as a new area file.I am hoping that it is possible to script this job using Jython. I would really appreciate your inputs on the problem. I have two area file...