WRF Portal and WRF Domain Wizard Java Source Code

WRF Portal and WRF Domain Wizard Java Source Code

This software is distributed under the Open Source Definition, which may be found at http://www.opensource.org/docs/definition.php. In particular, redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met. Redistribution of source code must retain this notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must provide access to this notice, this list of conditions and the following disclaimer, and the underlying source code.
- All modifications to this software must be clearly documented, and are solely the responsibility of the agent making the modifications.
- If significant modifications or enhancements are made to this software, the ESRL/GSD Software Policy Manager (softwaremgr.fsl@noaa.gov ) should be notified.
- This software and its documentation are in the public domain and are furnished "as is". The United Stated Government, its instrumentalities, officers, employees, and agents make no warranty, express or implied, as to the usefulness of the software and documentation for any purpose. They assume no responsibility (1) for the use of the software and documentation; or (2) to provide technical support to users.

Requirements to Compile:
Java 1.5 or later
ANT 1.7 or later

Download the source code (30 MB zip file includes source code for both WRF Portal and WRF Domain Wizard)

Instructions:

  • Click the link above to download wrf-portal-source.zip
    unzip the source files to some directory on your system
    You will see two ANT build files (build.xml which is used by NetBeans, and buildPortal_WDW.xml which can be used from the command line to build either WRF Portal or WRF Domain Wizard)
  • Build the images jar file with this ANT command
    ant DomainWizardImages -buildfile buildPortal_WDW.xml
  • Type this ANT command to build WRF Portal
    ant -buildfile buildPortal_WDW.xml
    This creates a "dist" directory.
    CD to this directory.
    Run with this command: java -Xmx390m -jar Portal.jar WRF
  • Type this ANT command to build WRF Domain Wizard
    ant domainwizard -buildfile buildPortal_WDW.xml
    This creates a "dist_dwiz" directory.
    CD to this directory.
    Run with this command: java -Xmx390m -jar WRFDomainWizard.jar
  • Type this ANT command to build the javadocs
    ant javadoc -buildfile buildPortal_WDW.xml

Note: This project was originally started with JBuilder (so you'll see some JBuilder generated code in the source). Currently, we are using NetBeans 6.9 and we've included the NetBeans project so you can just load the entire project into that IDE.