Search found 18 matches

by m.yunus.a.m.
Wed Sep 29, 2021 1:40 pm
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello. An update to the above post. It's working now. I'm using exp from visad.python.JPythonMethods instead of Numeric. from visad.python.JPythonMethods import exp psfc=loadGrid(filename='',field='PSFC') temps = loadGrid(filename='',field='T2') hgt=loadGrid(filename='',field='HGT') temps = newUnit(...
by m.yunus.a.m.
Wed Sep 29, 2021 6:33 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello. I would like to calculate MSLP from WRF output. Since WRF output does not have MSLP by it self, I have to calculate it. I'm referring to http://weather.ou.edu/~criedel/metr2021/plot_wrf.py for the calculation. import numpy as np temps = nc.variables['T2'] # Convert Surface Pressure to Mean Se...
by m.yunus.a.m.
Wed Sep 15, 2021 8:32 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hi Bob. The script works fine. I was thinking maybe a more seasoned Python user will find my codes too messy or not up to standard. Or perhaps there's a better option or function to what I have used. I do see some parts that can be simplified by using dictionary declaration. I do have a different qu...
by m.yunus.a.m.
Mon Sep 13, 2021 8:29 pm
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello, Regarding https://mcidas.ssec.wisc.edu/forums/viewtopic.php?p=7363#p7363, and https://mcidas.ssec.wisc.edu/forums/viewtopic.php?p=7377#p7377, it is solved. After contacting IDV support, they suggested to create a new projection and modifying the 'Tangent Lon'. Such as below. Screen Shot 2021-...
by m.yunus.a.m.
Mon Sep 13, 2021 10:13 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello. Please help me with putting annotation. Attached is the result of 'title=panel.annotate('2016-05-21 1520 UTC',size=20,color='Black',lat=-67,lon=180,bg='White')'. Is there any way to rotate the annotation? The color scale bar have its orientation correctly according to the display window, but ...
by m.yunus.a.m.
Sun Sep 12, 2021 12:12 pm
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hi Bob. About the issue with dateline. The HYDRA in 1.8 has that problem, but the HYDRA in 1.9beta1 does not have that problem. Perhaps that would help you. Referring to this post, https://mcidas.ssec.wisc.edu/forums/viewtopic.php?p=7149#p7149. I would like make a suggestion. Perhaps make a custom f...
by m.yunus.a.m.
Fri Sep 10, 2021 1:12 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hi Bob, I have uploaded the file, it's name is MOD021KM.A2016142.1020.061.2017326015248.hdf. I downloaded it from https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/61/MOD021KM/2016/142/. I'm using Windows 10 on i5-4460 if it helps. No GPU, my GPU just bricked recently. Regarding using the unit=...
by m.yunus.a.m.
Thu Sep 09, 2021 8:07 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello, I hope it's fine for me to post other question using this thread. I find that imagery added through Data Explorer>Data Sources>HYDRAhas better quality than imagery added through loadADDEImage(). Would it be possible to add imagery using the HYDRA through the Jython script? Would it be possibl...
by m.yunus.a.m.
Thu Sep 09, 2021 12:37 am
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hi Bob, Would it be possible to request this as a feature? Some of the feature like streamlines are quite taxing on a PC with only iGPU (i5-4460 to be exact). I have taken advantage of using latLonBounds, xStride, and yStride, to reduce the amount of data being displayed. But it seems, my ancient PC...
by m.yunus.a.m.
Tue Sep 07, 2021 2:06 pm
Forum: Scripting
Topic: How do I customise Default Background Maps?
Replies: 20
Views: 14753

Re: How do I customise Default Background Maps?

Hello,

When you create a display, such as MODlayer2=panel.createLayer('Image Display', Image2), is there a way to create the layer but not display it first? I would like to apply some modification before displaying the image.

Yunus