Updated 04/03/08
This process creates the final basin and stream shapefiles to be used with FFMPA. The basin shapefile must be processed to ensure that all basins are larger than a specified minimum area (1.74 square miles by default). Removing the very small basins is required to minimize FFMP CPU usage and to ensure the basins can be resolved on the D2D display. In addition, the basin and stream shapefiles must be checked to make sure the required attributes exist and are in the expected order in the attribute table.
NOTE: This script takes a few hours to run--time will vary depending on the domain size and computer power.
** Before beginning, make sure the basins_all shapefile is in your current workspace folder. **
The Merge By Area script will be used to aggregate most of the small basins. The script aggregates basins during five iterations--one to merge basins with an adjacent or "sibling" basin if possible, and four additional iterations to merge basins with their immediate upstream basins.
NOTE: If you receive an error when running this script, please contact Ami.Arthur@noaa.gov.
This script should take less than an hour to run (usually 30-45 minutes).
The Merge with Next DS script will be used to aggregate some of the remaining small basins with their immediate downstream basins. We will first use two queries to select those small basins that do have a downstream basin with which they can be merged, and then run the Merge with Next DS script on this selection.
(NOTE: If no basins are selected, you can move on to Step 4 - Check Basin and Stream Shapefile Attributes).
This script should take less than an hour to run (usually 30-45 minutes).
The Merge Selected script will be used to aggregate any of the remaining small basins that are able to be aggregated. We will first do a query to select the remaining small basins.
(NOTE: If no basins are selected, you can skip the rest of this section and move on to Step 4 - Check Basin and Stream Shapefile Attributes).
It is helpful to overlay the derivedstr_all shapefile to help determine which basins should be selected for aggregation. The Merge Selected script requires selected upstream/downstream basin pairs, or trio selections made up of two adjacent (sibling) basins and their immediate downstream basin. The Merge Selected script will work for one or many basin pair/trio selections.NOTE: Each selected basin pair/trio should be isolated from (not hydrologically connected to) other selected pairs/trios.
Make a copy of your final merged basin shapefile by doing the following:
Double-click the Reorder Fields script to open it. Select FFMP_aggr_basins from the pull-down list. Click OK. This script may take anywhere from about 30 minutes to 1.5 hours to run.
Make a copy of the stream shapefile by doing the following:
Double-click the Reorder Fields script to open it. Select FFMP_ref_sl from the pull-down list. Click OK.
After running Reorder Fields, the attributes in the FFMP_aggr_basins layer should be:
NOTE: If there are too many additional fields in the basin attribute table (for example, numerous [Upstream] fields), localization problems may occur. In addition, you must have no more than 65000 basin features. If you have more than 30 attribute fields (not including the FID field) or more than 65000 basin features, please contact Ami Arthur (Ami.Arthur@noaa.gov or 405-325-6457) for assistance.
After running Reorder Fields, the attributes in the FFMP_ref_sl layer should be:
You should now have the following final files:
NOTE: The *.shp files must be gzipped:
The above files (*.dbf, *.shp.gz, and *.shx) should be copied to AWIPS into /data/local. Do not remove the old FFMP shapefiles from AWIPS yet.
NOTE: When you receive OB8.3, you will need to move the new files from /data/local to /data/fxa/nationalData prior to localization.
Please send an e-mail to Ami.Arthur@noaa.gov and cc the appropriate regional contact(s) (see below) when you have completed the Tier I processing. Please indicate 1) whether you processed the files using ArcMap 9.2 or ArcView 3.x, and 2) approximately how long it took to complete Tier I.
Regional Contacts
Central Region: Noreen.Schwein@noaa.gov and also please use the EMRS to report completion.
Eastern Region: George.McKillop@noaa.gov
Southern Region: Diane.Cooper@noaa.gov and Eric.Howieson@noaa.gov
Western Region: Please use the EMRS to report completion.