RSYNC=rsync -av UPLOADEE=maharal SR=../sr.scm # ../tmy3-get.scm -116.5:-110.5 32.0:34.0 sonoran-files =\ 722868TYA.CSV\ 722784TYA.CSV\ 747187TYA.CSV\ 722789TYA.CSV\ 747188TYA.CSV\ 722785TYA.CSV\ 722780TYA.CSV\ 747185TYA.CSV\ 722800TYA.CSV\ 699604TYA.CSV\ 722745TYA.CSV\ 722740TYA.CSV\ # ../tmy3-get.scm -118.25:-113.75 34.25:36.75 mojave-files =\ 723870TYA.CSV\ 723865TYA.CSV\ 723860TYA.CSV\ 746120TYA.CSV\ 723700TYA.CSV\ 723810TYA.CSV\ 723815TYA.CSV\ 723805TYA.CSV\ 723816TYA.CSV\ 723820TYA.CSV\ 690150TYA.CSV\ csvfiles = $(sonoran-files) $(mojave-files) sdpngs= 722740TYA-pw-vs-dbt.png 722745TYA-pw-vs-dbt.png \ 699604TYA-pw-vs-dbt.png 722800TYA-pw-vs-dbt.png \ 747185TYA-pw-vs-dbt.png 722780TYA-pw-vs-dbt.png \ 722785TYA-pw-vs-dbt.png 747188TYA-pw-vs-dbt.png \ 722789TYA-pw-vs-dbt.png 747187TYA-pw-vs-dbt.png \ 722784TYA-pw-vs-dbt.png 722868TYA-pw-vs-dbt.png mdpngs= 690150TYA-pw-vs-dbt.png 723820TYA-pw-vs-dbt.png \ 723816TYA-pw-vs-dbt.png 723805TYA-pw-vs-dbt.png \ 723815TYA-pw-vs-dbt.png 723810TYA-pw-vs-dbt.png \ 723700TYA-pw-vs-dbt.png 746120TYA-pw-vs-dbt.png \ 723860TYA-pw-vs-dbt.png 723865TYA-pw-vs-dbt.png \ 723870TYA-pw-vs-dbt.png sitepngs = $(sdpngs) $(mdpngs) sitepngs: $(sitepngs) %-pw-vs-dbt.png: %.CSV ../sr.scm ../tmy3-read.scm ../sr-utils.scm ../sr.scm $< pw vs dbt png pnfiles = \ 722868TYA-perfect-nirt-zr-vs-hr.png 722868TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722784TYA-perfect-nirt-zr-vs-hr.png 722784TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 747187TYA-perfect-nirt-zr-vs-hr.png 747187TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722789TYA-perfect-nirt-zr-vs-hr.png 722789TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 747188TYA-perfect-nirt-zr-vs-hr.png 747188TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722785TYA-perfect-nirt-zr-vs-hr.png 722785TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722780TYA-perfect-nirt-zr-vs-hr.png 722780TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 747185TYA-perfect-nirt-zr-vs-hr.png 747185TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722800TYA-perfect-nirt-zr-vs-hr.png 722800TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 699604TYA-perfect-nirt-zr-vs-hr.png 699604TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722745TYA-perfect-nirt-zr-vs-hr.png 722745TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 722740TYA-perfect-nirt-zr-vs-hr.png 722740TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723870TYA-perfect-nirt-zr-vs-hr.png 723870TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723865TYA-perfect-nirt-zr-vs-hr.png 723865TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723860TYA-perfect-nirt-zr-vs-hr.png 723860TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 746120TYA-perfect-nirt-zr-vs-hr.png 746120TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723700TYA-perfect-nirt-zr-vs-hr.png 723700TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723810TYA-perfect-nirt-zr-vs-hr.png 723810TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723815TYA-perfect-nirt-zr-vs-hr.png 723815TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723805TYA-perfect-nirt-zr-vs-hr.png 723805TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723816TYA-perfect-nirt-zr-vs-hr.png 723816TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 723820TYA-perfect-nirt-zr-vs-hr.png 723820TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ 690150TYA-perfect-nirt-zr-vs-hr.png 690150TYA-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png \ # Perfect roof # %-perfect-srg-vs-hr.png %-perfect-nrt-vs-hr.png %-perfect-nirt-vs-srg-hr_gt_6-hr_le_18.png: %.CSV ../sr.scm ../tmy3-read.scm ../sr-utils.scm nirt-3-8-7-13-32.scm perfect.scm # $(SR) $< nirt-3-8-7-13-32.scm perfect.scm \ # srg vs hr png , nrt vs hr png , nirt vs srg "hr>6" "hr<=18" png %-perfect-nirt-zr-vs-hr.png %-perfect-nirt-zr-vs-dbt-hr_gt_6-hr_le_18.png: %.CSV ../sr.scm ../tmy3-read.scm ../design.scm ../sr-utils.scm nirt-3-8-7-13-32.scm perfect.scm $(SR) $< nirt-3-8-7-13-32.scm perfect.scm \ nirt zero-in-range vs hr png , \ nirt zero-in-range vs dbt "hr>6" "hr<=18" png swdeserts.png: Mojave-Sonoran.png southwest.png convert -transparent white southwest.png sw.png composite -dissolve 180 sw.png Mojave-Sonoran.png -alpha Set \ swdeserts.png rm sw.png # convert swdeserts.png -background white -flatten swdeserts.png ## shifts the image down-right. Mojave-Sonoran.png: Mojave-sonoran_deserts.png convert Mojave-sonoran_deserts.png \ -scale 297%x295% -crop 606x434+21+27 \ -rotate -2.5 -border 47x23 Mojave-Sonoran.png #`identify Mojave-Sonoran.png' reports 738x506+21+27, which is wrong. #`identify southwest.png' reports 720x480+0+0 # Utah border is too far south! deserts.png: Fig.1.png convert -crop 910x855+375+82 -scale 82% Fig.1.png deserts.png # -rotate -2 wsfiles=722780TYA-ws-hist.png 723860TYA-ws-hist.png wsfiles: $(wsfiles) %-ws-hist.png: %.CSV ../sr.scm ../tmy3-read.scm ../sr-utils.scm ../sr.scm $< ws hist png maps = swdeserts.png htmlfiles = Lambertian.html PerfectLambertian.html Sites.html pubfiles = Makefile $(designfiles) $(csvfiles) all: $(pnfiles) $(tfiles) $(wsfiles) $(sitepngs) $(htmlfiles) upload: $(tfiles) $(pnfiles) $(wsfiles) $(sitepngs) $(htmlfiles) $(maps) $(nirtpngs) $(RSYNC) Makefile $(tfiles) $(pnfiles) $(wsfiles) $(sitepngs) \ $(htmlfiles) $(maps) $(nirtpngs) \ $(UPLOADEE):public_html/SimRoof/Deserts/ ../temp/SimRoof/Deserts: $(pubfiles) mkdir -p $@ ln $(pubfiles) $@ SCM2C = scm -e"(define *script* \#t)" -l../scm2c -p scm #CC = gcc CFLAGS = -Wall -O6 # -g #LIBS = #LD = $(CC) -g LD = $(CC) .c.o: $(CC) -c $(CFLAGS) -I ../ $< -o $@ model-L.o: model-L.c ../prng-a.h model-L.c model-L.h: model-L.scm ../scm2c $(SCM2C) $< model-L: model-L.o ../prng-a.o $(LD) -o $@ -lm model-L.o ../prng-a.o inflow-256.png: ../graphinflow.scm model-L.scm scm -l ../graphinflow.scm nirtpngs = nirt-3-8-7-13-32-ch-dbt-ap_eq_96000-pw_eq_36.png \ nirt-3-8-7-13-32-dbt-ch-ap_eq_96000-pw_eq_36.png \ nirt-3-8-7-13-32-ch-pw-ap_eq_96000-dbt_eq_26.85.png \ nirt-3-8-7-13-32-pw-ch-ap_eq_96000-dbt_eq_26.85.png \ nirt-3-8-7-13-32-dbt-pw-ap_eq_96000-ch_eq_16001.png \ nirt-3-8-7-13-32-pw-dbt-ap_eq_96000-ch_eq_16001.png \ nirt-3-8-7-13-32-ch-ap-dbt_eq_26.85-pw_eq_36.png \ inflow-256.png nirtpngs: $(nirtpngs) nirt-3-8-7-13-32.scm: model-L ./model-L 32 nirt-3-8-7-13-32-ch-dbt-ap_eq_96000-pw_eq_36.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< ch dbt pw=36 ap=96000 png nirt-3-8-7-13-32-dbt-ch-ap_eq_96000-pw_eq_36.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< dbt ch pw=36 ap=96000 png nirt-3-8-7-13-32-ch-pw-ap_eq_96000-dbt_eq_26.85.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< ch pw dbt=26.85 ap=96000 png nirt-3-8-7-13-32-pw-ch-ap_eq_96000-dbt_eq_26.85.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< pw ch dbt=26.85 ap=96000 png nirt-3-8-7-13-32-pw-dbt-ap_eq_96000-ch_eq_16001.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< pw dbt ap=96000 ch=16001 png nirt-3-8-7-13-32-dbt-pw-ap_eq_96000-ch_eq_16001.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< dbt pw ap=96000 ch=16001 png nirt-3-8-7-13-32-ch-ap-dbt_eq_26.85-pw_eq_36.png: nirt-3-8-7-13-32.scm ../nirt.scm ../sr-utils.scm ../nirt.scm $< ch ap dbt=26.85 pw=36 png