Thank you very much.
Please see my notes intercalated with yours, below.
Actually i think the order you gave is incorrect. Step 5 must be done
first in order for the subwgn file correctly to be created in the
project geodatabase.
On Apr 12, 12:33 pm, Michael Winchell <
mwinch...@stone-env.com> wrote:
> Michael,
>
> The process for implementing custom weather generator stations in an
> ArcSWAT project is as follows:
>
> 1.) Create a weather generator station location file as described on
> page 20 of the ArcSWAT manual. Note that there is a sample file in the
> "\Databases\Example1\" folder.
I did this. I copied the sample, renamed it, emptied it, then added
my record. See below.
> 2.) Load this weather generator location file as described on page 141
> of the ArcSWAT manual.
Does not work for the alternative table schemas as on page 20 with lat
and lon. Only works if i copy the sample table, clear it, then
populate it with my own data.
Even on loading the sample you specify, ArcSWAT generates an error
message: "Error in Loading the Table". However the error message is
misleading, because the subwgn is generated in the project
geodatabase. WHAT A PAIN!!! Ok so I have my subwgn in the project
database and it is populated with references to the correct weather
station data that was pre-loaded into the SWAT2005.mdb. I know this
because the MinDist offset has been correctly calculated.
> 3.) Load observed daily time series if you are using observed data.
nope. i have monthly stats, plus the precipitation stats derived from
daily.
> 4) When you have finished the inputs in the "Weather Data
> Definition" , you will have created the "SubWgn" table in your project
> geodatabase.
Yes see above.
> 5.) Assuming you don't want to enter your weather station parameters
> through the editor interface, import your custom weather stations into
> the User Weather Stations database (table "userwgn" in the
> SWAT2005.mdb database). The simplest way to do this is to open the
> database in Access and use the Access import functionality to import
> your stations directly into the "userwgn" table. The other option is
> to append the new records using ArcCatalog Append Tool. The ArcCatalog
> approach is described on page 338 of the ArcSWAT manual.
As mentioned before, i did this step ahead of time and
programmatically. Easier for me to write a program than doing Access
import or ArcCatalog append.
> > > - Show quoted text -- Hide quoted text -