IfpImage Not creating graphics
View and edit grids of meteorological values
Status: Beta
Brought to you by:
romberg
When I go into Products > Scripts >PNG Image, it uses the gfeConfig. However when looking into the process it runs sh /home/gfe/gfeInstall/var/gfe/bin/gfei and says no such file or directory.
Not sure what is going on here. Would love to see GFE make grids. See my previous post on the attempts to get this working.
In this file: https://sourceforge.net/p/gfed/code/ci/master/tree/data/textFiles/GFECONFIG/gfeConfig.GFECONFIG
Change the SITE in the # Product Generation Scripts appear under the product generation menu
on the GFE.
Scripts = [
"Png Images...:" +
"{home}/bin/gfei -m ifp.Image -u SITE -h {host} -p {port} " +\
"-c {entry:ConfigFile:testIFPImage} " +\
"-o {prddir}/IMAGE",
When I first ran the script, it said /home/gfe/gfeInstall/var/gfe/bin/gfei didn't exist.. which /home/gfe/gfeInstall does exist. I created the gfe and bin folder respectively, and I copied the gfei file in there. The script WORKED... However it said I had some Png_Params missing, even though I had things defined in the gfeConfig script. See the attached.
Got the PngImage to work... however after making config edits.. it doesn't want to either save them or something.. It gives me a black background, and doesn't show it like it should on like a white map, with gray counties, and the actual grid stuff with the values.
Second problem, I created a WX Grid, and it didn't even send that to PNG. I attatched the image issue that has the MaxT.
As you have discovered, you can't use 'gfeConfig' as a configuration file for the ifp.Image program. I have no idea why it was ever set as the default. I changed the default one to 'testIFPImage' which does work.
I'd love to see the grids fill like how they do on the nws.. it also looks
like ifpImage is going to a test db. Im not sure how to get it set to Fcst
and official
On Mon, Apr 30, 2018, 8:00 PM Mike Romberg romberg@users.sourceforge.net
wrote:
Related
Tickets:
#8Over my grids can I also output city names? I'd like to show one weather element at a time... whereas in some of the grids, multiple elements show.
I did a fresh install, and when I go to run ifpImage...
I get this after the command runs, when I look in the Process Monitor:
PngWriter.py 593 EVENT: ifpIMAGE Starting
PngWriter.py 596 EVENT: Build Date: Tue May 1 05:49:48 2018 Built By: gfe Built On: localhost.localdomain (linux) Version: 1.10.0 May/01/2018
Config.C 213 EVENT: loading module testIFPImage...
DBSubsystem.C 190 EVENT: Version: 1.10.0 May/01/2018
Server Host: localhost Port: 8044
Username: SITE
PngWriter.py 40 EVENT: Configuration File: testIFPImage
PngWriter.py 460 EVENT: No grids to generate
PngWriter.py 650 EVENT: ifpIMAGE Finished
So -- I was able to take some of the info from the TestIFPImage, and edit the Png_params, and I was able to get it to work. I made a MaxT grid, and you can see the attatched. Now would be nice to get it to work like this for different elements: https://graphical.weather.gov/images/pah/MinT1_pah.png
Obviously if I were to show a logo, I'd be putting my own logo and text in between :) I spent about an hour and a half getting this progress working! I can attatch my gfeConfig if you'd like.
--EDIT.. In the attatched.. While I generated it as the MaxT element... These certainly are not temperatures. Not sure what happened here!
Last edit: Michael Foland 2018-05-01
I believe on that image it is topo and not maxT. Not sure why it didn't
generate the MaxT grid.
On Tue, May 1, 2018, 2:57 AM Michael Foland mfoland@users.sourceforge.net
wrote:
Related
Tickets:
#8There is alot of documentation that can be found by poining your browser at:
file:///path/to/where/ho/have/gfe/source/GFESuite/doc/onlinehelp/index.html
In particular, the ifpImage documentation is at: GFESuite/doc/onlinehelp/ifpIMAGE.html
Last edit: Mike Romberg 2018-05-01
I was able to use the documentation to get the grids to actually generate an image... However, I cannot for the life of me get the temperatures to also show as text for points... and not all the cities are showing like they should be. Is there a new city database out there or something? See my attatched image.
The points at which values are displayed are called samples. Groups of samples are called samplesets. To get ifp.Image to display samplesets you need to:
As for the cities map. Check the section of the documentation about configuring maps. The cities shapefile has alot more cities in in that the gfe will use by default. If I remember correctly the default filters out smaller ones so that large metro areas are not a huge swarm of points. I believe you should be able to customize the cities map for your needs.
ifp.Image seems up and running again. So, closing this ticket. Open new tickets for any additional issues with the operation of ifp.Image.