Search found 1138 matches

by joleenf
Thu Aug 03, 2017 7:08 pm
Forum: Bug Reports
Topic: custom controls for mouse
Replies: 1
Views: 1788

custom controls for mouse

Hi, Recently I tried to select the Google Earth setup in the User Preferences->Navigation Controls->Navigation Mode->Keyboard . Then I tried to add a cursor readout for None:Middle mouse button. However, the cursor readout setting does not work even though it appears to be set in the preferences. I ...
by joleenf
Thu Aug 03, 2017 7:03 pm
Forum: Bug Reports
Topic: abs failing for datetime timedelta
Replies: 1
Views: 1740

abs failing for datetime timedelta

Hi, I would expect that this piece of code would work okay in the jython shell, but it doesn't... from datetime import datetime as dt dateTime1=dt.strptime('2017-Aug-21 18:50', '%Y-%b-%d %H:%M') dateTime2=dt.strptime('2017-Aug-20 17:20', '%Y-%b-%d %H:%M') print (abs(dateTime1 - dateTime2)) Thanks, J...
by joleenf
Tue Jul 25, 2017 5:27 pm
Forum: Scripting
Topic: using the colorbar options from writeImage
Replies: 3
Views: 3315

Re: using the colorbar options from writeImage

Hi,

The documentation for Colorbar options of captureImage has the word "tickmarks" as an option. However, I am finding that using that spelling returns an __init__ error. I found that "tickMarks" still works.

Joleen
by joleenf
Fri Jul 21, 2017 6:19 pm
Forum: General Questions
Topic: Sandwich rgb
Replies: 9
Views: 11087

Re: Sandwich rgb

Ghansham, I plot the IR layer underneath the visible and the rgb layers or make the IR layer transparent. Then, I turn the color table on for the IR layer. I always have to be careful that I am using the same range, but in reverse from the sandwich input: irLayer=panel[0].createLayer('Image Display'...
by joleenf
Fri May 26, 2017 3:31 pm
Forum: Scripting
Topic: time field from loadGrid (ABI data)
Replies: 1
Views: 2665

time field from loadGrid (ABI data)

Hi, Do you know why the "times" key from loadGrid returns an empty array when using ABI data? Right now I get the timestamp for ABI data by using the ['globalAttributes']['time_coverage_start'] and then converting to a python datetime for easy formatting. Is this the preferred method or ha...
by joleenf
Thu May 11, 2017 3:57 pm
Forum: Scripting
Topic: metadata from loadGrid and loadADDE
Replies: 3
Views: 3348

Re: metadata from loadGrid and loadADDE

Hi Bob,

I don't see the same results for band_wavelength in the metadata variables when using mask, or the fixed grid resample. I do see the dictionary propagate through for resample and resampleGrid.

Joleen
by joleenf
Tue May 09, 2017 2:51 pm
Forum: Scripting
Topic: scale/offset from variables y and x for GOES-16 netCDF files
Replies: 5
Views: 4313

Re: scale/offset from variables y and x for GOES-16 netCDF files

At this moment, no, I do not need to access the scale and offset factors for the x,y coordinates.
Joleen
by joleenf
Sat May 06, 2017 2:56 pm
Forum: Scripting
Topic: scale/offset from variables y and x for GOES-16 netCDF files
Replies: 5
Views: 4313

Re: scale/offset from variables y and x for GOES-16 netCDF files

Actually, that does not make sense, because the xRange and yRange are row, column indices, not the fixed grid coordinate values.

Pardon my confusion...
Joleen
by joleenf
Sat May 06, 2017 2:46 pm
Forum: Scripting
Topic: scale/offset from variables y and x for GOES-16 netCDF files
Replies: 5
Views: 4313

Re: scale/offset from variables y and x for GOES-16 netCDF files

Hi Bob, I wanted to use a lat/lon, find the fixed grid coordinate, then use a range around that fix grid coordinate for xRange and yRange in loadGrid. Class GEOSTransform FGFtoEarth(double fgf_x, double fgf_y, double scale_x, double offset_x, double scale_y, double offset_y) Transform fractional FGF...
by joleenf
Sat May 06, 2017 2:43 pm
Forum: Scripting
Topic: loadGrid 'dimensions' access
Replies: 5
Views: 4185

Re: loadGrid 'dimensions' access

Bob, I think that your alternative solution posted on 20 May 2016, 17:40 is the best solution currently. I am currently using a full disk file, which does not have row and columns sizes evenly divisible by 100, and my method overestimates the size of the arrays. Also, this post and m are tied togeth...