####################################
### Log file for DDRP cohorts v1 ###
####################################

BASE DIR:  /data/PRISM/ 
WORKING DIR:  /data/PRISM/2017 
EXISTING OUTPUT DIR: /home/httpd/html/dodtmp/8064; removing all files

PARAMETER AND SETTINGS SETUP: getting parameters to use in model
Species params:  /usr/local/dds/DDRP_DOD/spp_params/APH.params 
Reading params for species:  APH  Fullname:  Aphalara itadori 
2017 is not a leap year - ignoring 'keep_leap' parameter

METADATA: creating metadata file for all inputs used in model

Done writing metafile

PRISM DATA PROCESSING
Finished loading PRISM files for 365 days
Creating template file for CONUS
Splitting template into 4 tiles
Cropping tmax and tmin tiles for CONUS 
Done processing PRISM data

DAILY LOOP
Sampling every 30 days between 20170101 and 20171231 
Running daily loop for cohorts 1 2 
Running daily loop for cohorts 3 4 
Running daily loop for cohorts 5 
Daily loop done (run time = 3.78 min)

FINAL ANALYSES AND MAP PRODUCTION

Merging tiles for CONUS 

Merged FullGen tiles for cohort 1 
Merged Voltinism tiles for cohort 1 
Merged AttVolt tiles for cohort 1 
Merged FullGen tiles for cohort 2 
Merged Voltinism tiles for cohort 2 
Merged AttVolt tiles for cohort 2 
Merged FullGen tiles for cohort 3 
Merged Voltinism tiles for cohort 3 
Merged AttVolt tiles for cohort 3 
Merged FullGen tiles for cohort 4 
Merged Voltinism tiles for cohort 4 
Merged Voltinism tiles for cohort 5 
Merged AttVolt tiles for cohort 4 
Merged FullGen tiles for cohort 5 
Merged Lifestage tiles for cohort 1 
Merged AttVolt tiles for cohort 5 
Merged Lifestage tiles for cohort 2 
Merged DDtotal tiles for cohort 1
Merged Lifestage tiles for cohort 3 
Merged Diapause tiles for cohort 1 
Merged Lifestage tiles for cohort 4 
Merged Diapause tiles for cohort 2 
Merged Lifestage tiles for cohort 5 
Merged Diapause tiles for cohort 3 
Merged NumGen tiles for cohort 1 
Merged Diapause tiles for cohort 4 
Merged NumGen tiles for cohort 2 
Merged Diapause tiles for cohort 5 
Merged NumGen tiles for cohort 3 
Merged NumGen tiles for cohort 4 
Merged NumGen tiles for cohort 5 

Done merging tiles

Deleting tiles for CONUS 

Deleted tile files for AttVolt 
Deleted tile files for Diapause 
Deleted tile files for FullGen 
Deleted tile files for Lifestage 
Deleted tile files for NumGen 
Deleted tile files for Voltinism 

Done deleting tile files

### SUMMARY MAPS: DDTOTAL ###

Saving summary map: Misc_output/DDtotal_20170927.png
- Number of accumulated degree-days on 09/27/2017

Saving summary map: Misc_output/DDtotal_20171231.png
- Number of accumulated degree-days on 12/31/2017

Saving summary map: Misc_output/DDtotal_20170530.png
- Number of accumulated degree-days on 05/30/2017

Saving summary map: Misc_output/DDtotal_20170130.png
- Number of accumulated degree-days on 01/30/2017

Saving summary map: Misc_output/DDtotal_20170629.png
- Number of accumulated degree-days on 06/29/2017

Saving summary map: Misc_output/DDtotal_20170301.png
- Number of accumulated degree-days on 03/01/2017

Saving summary map: Misc_output/DDtotal_20171027.png
- Number of accumulated degree-days on 10/27/2017

Saving summary map: Misc_output/DDtotal_20170729.png
- Number of accumulated degree-days on 07/29/2017

Saving summary map: Misc_output/DDtotal_20170331.png
- Number of accumulated degree-days on 03/31/2017

Saving summary map: Misc_output/DDtotal_20171126.png
- Number of accumulated degree-days on 11/26/2017

Saving summary map: Misc_output/DDtotal_20170828.png
- Number of accumulated degree-days on 08/28/2017

Saving summary map: Misc_output/DDtotal_20170430.png
- Number of accumulated degree-days on 04/30/2017

Saving summary map: Misc_output/DDtotal_20171226.png
- Number of accumulated degree-days on 12/26/2017

Done with DDtotal maps

### SUMMARY MAPS AND WEIGHTED RASTER OUTPUT: LIFESTAGE ###

Stages: OA, E, L, P, A

Saving raster brick: Misc_output/Egg.tif
- Egg relative pop. size for all 13 dates

Saving raster brick: Misc_output/OWadult.tif
- OWadult relative pop. size for all 13 dates

Saving raster brick: Misc_output/Pupae.tif
- Pupae relative pop. size for all 13 dates

Saving summary map: Misc_output/Egg_20170130.png
- Egg relative pop. size on 01/30/2017

Saving summary map: Misc_output/Egg_20170331.png
- Egg relative pop. size on 03/31/2017

Saving summary map: Misc_output/Egg_20170301.png
- Egg relative pop. size on 03/01/2017

Saving summary map: Misc_output/OWadult_20170301.png
- OWadult relative pop. size on 03/01/2017

Saving summary map: Misc_output/OWadult_20170130.png
- OWadult relative pop. size on 01/30/2017

Saving summary map: Misc_output/OWadult_20170331.png
- OWadult relative pop. size on 03/31/2017

Saving summary map: Misc_output/Pupae_20170301.png
- Pupae relative pop. size on 03/01/2017

Saving summary map: Misc_output/Pupae_20170331.png
- Pupae relative pop. size on 03/31/2017

Saving summary map: Misc_output/Egg_20170430.png
- Egg relative pop. size on 04/30/2017

Saving summary map: Misc_output/Egg_20170629.png
- Egg relative pop. size on 06/29/2017

Saving summary map: Misc_output/Egg_20170530.png
- Egg relative pop. size on 05/30/2017

Saving summary map: Misc_output/Pupae_20170130.png
- Pupae relative pop. size on 01/30/2017

Saving summary map: Misc_output/OWadult_20170530.png
- OWadult relative pop. size on 05/30/2017

Saving summary map: Misc_output/OWadult_20170430.png
- OWadult relative pop. size on 04/30/2017

Saving summary map: Misc_output/OWadult_20170629.png
- OWadult relative pop. size on 06/29/2017

Saving summary map: Misc_output/Pupae_20170530.png
- Pupae relative pop. size on 05/30/2017

Saving summary map: Misc_output/Egg_20170729.png
- Egg relative pop. size on 07/29/2017

Saving summary map: Misc_output/Egg_20170927.png
- Egg relative pop. size on 09/27/2017

Saving summary map: Misc_output/Egg_20170828.png
- Egg relative pop. size on 08/28/2017

Saving summary map: Misc_output/Pupae_20170629.png
- Pupae relative pop. size on 06/29/2017

Saving raster brick: Misc_output/Adult.tif
- Adult relative pop. size for 13 dates

Saving summary map: Misc_output/Pupae_20170430.png
- Pupae relative pop. size on 04/30/2017

Saving summary map: Misc_output/OWadult_20170828.png
- OWadult relative pop. size on 08/28/2017

Saving raster brick: Misc_output/Larvae.tif
- Larvae relative pop. size for all 13 dates

Saving summary map: Misc_output/OWadult_20170729.png
- OWadult relative pop. size on 07/29/2017

Saving summary map: Misc_output/OWadult_20170927.png
- OWadult relative pop. size on 09/27/2017

Saving summary map: Misc_output/Pupae_20170828.png
- Pupae relative pop. size on 08/28/2017

Saving summary map: Misc_output/Egg_20171027.png
- Egg relative pop. size on 10/27/2017

Saving summary map: Misc_output/Egg_20171126.png
- Egg relative pop. size on 11/26/2017

Saving summary map: Misc_output/Egg_20171226.png
- Egg relative pop. size on 12/26/2017

Saving summary map: Misc_output/Pupae_20170927.png
- Pupae relative pop. size on 09/27/2017

Saving summary map: Misc_output/OWadult_20171126.png
- OWadult relative pop. size on 11/26/2017

Saving summary map: Misc_output/Pupae_20170729.png
- Pupae relative pop. size on 07/29/2017

Saving summary map: Misc_output/OWadult_20171027.png
- OWadult relative pop. size on 10/27/2017

Saving summary map: Misc_output/Adult_20170130.png
- Adult relative pop. size on 01/30/2017

Saving summary map: Misc_output/Adult_20170301.png
- Adult relative pop. size on 03/01/2017

Saving summary map: Misc_output/Larvae_20170301.png
- Larvae relative pop. size on 03/01/2017

Saving summary map: Misc_output/Larvae_20170130.png
- Larvae relative pop. size on 01/30/2017

Saving summary map: Misc_output/OWadult_20171226.png
- OWadult relative pop. size on 12/26/2017

Saving summary map: Misc_output/Larvae_20170331.png
- Larvae relative pop. size on 03/31/2017

Saving summary map: Misc_output/Pupae_20171126.png
- Pupae relative pop. size on 11/26/2017

Saving summary map: Misc_output/Egg_20171231.png
- Egg relative pop. size on 12/31/2017

Saving summary map: Misc_output/Pupae_20171226.png
- Pupae relative pop. size on 12/26/2017

Saving summary map: Misc_output/OWadult_20171231.png
- OWadult relative pop. size on 12/31/2017

Saving summary map: Misc_output/Pupae_20171027.png
- Pupae relative pop. size on 10/27/2017

Saving summary map: Misc_output/Adult_20170331.png
- Adult relative pop. size on 03/31/2017

Saving summary map: Misc_output/Adult_20170430.png
- Adult relative pop. size on 04/30/2017

Saving summary map: Misc_output/Larvae_20170430.png
- Larvae relative pop. size on 04/30/2017

Saving summary map: Misc_output/Larvae_20170530.png
- Larvae relative pop. size on 05/30/2017

Saving summary map: Misc_output/Larvae_20170629.png
- Larvae relative pop. size on 06/29/2017

Saving summary map: Misc_output/Pupae_20171231.png
- Pupae relative pop. size on 12/31/2017

Saving summary map: Misc_output/Adult_20170530.png
- Adult relative pop. size on 05/30/2017

Saving summary map: Misc_output/Adult_20170629.png
- Adult relative pop. size on 06/29/2017

Saving summary map: Misc_output/Larvae_20170828.png
- Larvae relative pop. size on 08/28/2017

Saving summary map: Misc_output/Larvae_20170729.png
- Larvae relative pop. size on 07/29/2017

Saving summary map: Misc_output/Larvae_20170927.png
- Larvae relative pop. size on 09/27/2017

Saving summary map: Misc_output/Adult_20170729.png
- Adult relative pop. size on 07/29/2017

Saving summary map: Misc_output/Adult_20170828.png
- Adult relative pop. size on 08/28/2017

Saving summary map: Misc_output/Larvae_20171126.png
- Larvae relative pop. size on 11/26/2017

Saving summary map: Misc_output/Larvae_20171027.png
- Larvae relative pop. size on 10/27/2017

Saving summary map: Misc_output/Larvae_20171226.png
- Larvae relative pop. size on 12/26/2017

Saving summary map: Misc_output/Adult_20170927.png
- Adult relative pop. size on 09/27/2017

Saving summary map: Misc_output/Larvae_20171231.png
- Larvae relative pop. size on 12/31/2017

Saving summary map: Misc_output/Adult_20171027.png
- Adult relative pop. size on 10/27/2017

Saving summary map: Misc_output/Adult_20171126.png
- Adult relative pop. size on 11/26/2017

Saving summary map: Misc_output/Adult_20171226.png
- Adult relative pop. size on 12/26/2017

Saving summary map: Misc_output/Adult_20171231.png
- Adult relative pop. size on 12/31/2017

Done with summary maps for NumGen

### ANALYSIS: LIFESTAGE BY GENERATION ###


Saving raster brick: Mismatch_cohort5.tif
Mismatch

Saving raster brick: Mismatch_cohort4.tif
Mismatch

Saving raster brick: Mismatch_cohort1.tif
Mismatch

Saving raster brick: Mismatch_cohort2.tif
Mismatch

Saving raster brick: Mismatch_cohort3.tif
Mismatch

Saving raster brick: Diapause_all_weighted.tif


Saving raster brick: AttVolt_all_weighted.tif


Saving raster brick: Mismatch_all_weighted.tif


Saving raster brick: FullGen_all_weighted.tif

### SUMMARY MAP OUTPUT - Diapause ###



### Done w/ final analyses and map production ###
Run time for analyses and map production = 4.43 min
Deleting, renaming, and moving some remaining files
Renamed all files for last day (20171231) to include APH in file name

MODEL RUN DONE
Run time for entire model = 9.54 min