-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from SANDAG/ABM3_validation
Update Validation for ABM3
- Loading branch information
Showing
2 changed files
with
32 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
rem COPY REQUIRED FILES TO SPECIFIED ABM SCENARIO | ||
@echo off | ||
|
||
set SOURCE_DIRECTORY=\\sandag.org\transdata\ABM\release\tools\PowerBI_validation_tool | ||
set PROJECT_DRIVE=%1 | ||
set PROJECT_DIRECTORY=%2 | ||
set VALIDATION_DIRECTORY=%PROJECT_DRIVE%%PROJECT_DIRECTORY%\analysis\validation | ||
|
||
rem Create Validation Folder If Not Exist | ||
if not exist %VALIDATION_DIRECTORY% mkdir %VALIDATION_DIRECTORY% | ||
|
||
rem ### Copy files using xcopy | ||
set SCENARIOYEAR=%3 | ||
xcopy %SOURCE_DIRECTORY%\data\%SCENARIOYEAR%\ %VALIDATION_DIRECTORY% /S /E /Y | ||
|
||
rem CREATE VIS WORKSHEET FOR POWER BI VISUALIZATIONS | ||
rem ### Connecting to Anaconda3 Environment | ||
set ENV=%CONDA_PREFIX% | ||
call %ENV%\Scripts\activate.bat %ENV% | ||
|
||
rem ### Use ABM3 conda env (for both tcov and tned) | ||
call activate asim_baydag | ||
|
||
rem ### Running validation pipeline for input scenario | ||
python %SOURCE_DIRECTORY%\src\%SCENARIOYEAR%\validation.py %PROJECT_DRIVE%%PROJECT_DIRECTORY% %SCENARIOYEAR% |