I just wanted to update you on some testing that I have been doing. I created a very basic script that tests eastl/fd.
Code: Select all
outDir = 'C:/Users/rcarp/test/'
addeParms = dict(
server = 'eastl.ssec.wisc.edu',
dataset = 'EASTL',
descriptor = 'FD',
band = 6,
location = (40,-90),
size = (300,300),
coordinateSystem = LATLON,
position = -1,
unit = 'TEMP',
)
data = loadADDEImage(**addeParms)
panel = buildWindow()
layer = panel[0].createLayer('Image Display',data)
layer.setLayerLabel(visible=False)
panel[0].setWireframe(False)
mapLayer = panel[0].getMapLayer()
mapLayer.setLayerVisible(False)
print layer.getLayerVisible()
panel[0].captureImage(outDir+'bg_allFalse_layerLabel_wireframe_map2.gif')
I tested this with every band of eastl. When running through the Jython Shell, everything seems to work fine and I always end up with good images. I can have all three of these turned off:
- The wireframe box
- The map layer
- The layer label
When running from the background, regardless of the band, if all three of these are turned off, then the output image is blank. If any one of these is turned on, then there is a good image. This includes setting setLayerLabel to an empty string with: ""... though this does show a period for the layer label. I'm trying various experiments such as changing the order that things are done in the script, adding pauses(), etc but thus far I haven't been successful at getting an image when all three items in the list above are set to false from the background. I've sent this off to a programmer for thoughts as well.
This goes to show that the blank image problem is not just an issue with certain bands of Himawari data, but I don't yet know why only a couple bands of Himawari data are producing blank images for you. I don't think this is the case, but you aren't doing anything different in your script/function(s) for bands 4 and 6 (the bands that produce blank images), correct?.
Also to note (if you didn't already know), using the nightly I did not have to pass accounting information for the server/dataset into loadADDEImage. This is because of a programming change in the 1.6beta1 nightly build that checks the ADDE Data Manager for accounting information if the server/dataset is specified there (if accounting= isn't passed through loadADDEImage). This could be helpful when passing scripts around to different users, so you don't have to remember to remove your own accounting info before sending it to others.
Thanks for your patience and for helping to test things out -
Bob