How to display MTSAT HRIT data source using Jython Shell

Post any questions, ideas, or topics related to Jython and Python scripting.
User avatar
rosmadinor
Posts: 13
Joined: Tue Jun 12, 2012 2:36 am

Re: How to display MTSAT HRIT data source using Jython Shell

Post by rosmadinor »

Thank you for looking on these files. I've already ftp the data that you want.

Data tpye MTSAT HRIT (etc : IMG_DK01IR1_201209032332_001) and so on.

Hope to hear from you.

Thanks a lot mike. :D
User avatar
mhiley
Posts: 90
Joined: Mon Jan 23, 2012 10:22 pm

Re: How to display MTSAT HRIT data source using Jython Shell

Post by mhiley »

Thanks for posting the files. I was able to get this to work by adding the band keyword to my getADDEImage request, for example:

Code: Select all

myMetaData, myData = getADDEImage(server='localhost:8112', dataset='MTSAT', descriptor=desc, unit='BRIT', band=2, size='ALL')

In your case, band will be an integer from 1 to 5. Note I also used size='ALL' to specify that I want the entire image. You'll also find the mag keyword useful if you don't want a full resolution image.

Sorry it took over a month to get this figured out! We're working on better error handling so hopefully these types of issues will be easier to debug in the future. Let me know if you have any other questions!

Mike
User avatar
rosmadinor
Posts: 13
Joined: Tue Jun 12, 2012 2:36 am

Re: How to display MTSAT HRIT data source using Jython Shell

Post by rosmadinor »

i've tried the getADDEImage and i't look likes working.
Thank you very much mike. a lot of help from you.

maybe i will need your help for further questions.

thanks. :D
User avatar
mug_admin
Site Admin
Posts: 87
Joined: Thu Dec 18, 2008 9:31 pm

Re: How to display MTSAT HRIT data source using Jython Shell

Post by mug_admin »

Hi rosmadinor,

Just a note that we moved this topic from the General Questions forum to the Scripting forum because your question is about using the Jython shell. (You can find a listing of all the forums on the McIDAS-V Support Forums home page - http://mcidas.ssec.wisc.edu/forums/.)
Post Reply