Skip to content

Commit aca44ec

Browse files
committed
📝 include documentation on modifications
repeated from wiki
1 parent 8f0b346 commit aca44ec

5 files changed

Lines changed: 42 additions & 0 deletions

File tree

CALPUFF_MODS/CALMET/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* If using a 100m resolution, increase `mxnx` and `mxny` to `901` and `541` respectively
2+
in params.met
3+
* In params.met, change `mxnz` from `12` to `27` and `mxnzi` from `12` to `50`.

CALPUFF_MODS/CALPUFF/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
* If using a 100m resolution, increase `mxnx` and `mxny` to `901` and `541` respectively
2+
in params.puf
3+
* In params.puf, change `mxnz` from `12` to `27` and `mxrec` from `10000` to `20000`.
4+
* In calpuff.for, near the end of subroutine `comp` (e.g. just after the call
5+
to FOGOUT), insert the following lines of code to write out the hourly
6+
concentrations to individual file:
7+
```fortran
8+
do ispec=1,nspec
9+
write ( infile ,10000 ) ispec , nn
10+
10000 format (’concrec’ ,I2.2,I4.4, ’.dat’)
11+
open (50,file=infile)
12+
do i=1,nrec
13+
write (50, *) chirec(i,ispec)
14+
end do
15+
end do
16+
close (50)
17+
```

CALPUFF_MODS/CTGPROC/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
If using a 100m resolution, increase `mxnx` and `mxny` to `901` and `541` respectively
2+
in params.ctg
3+
4+
* In params.ctg, comment out the ‘Lahey F95 Compiler’ block and
5+
uncomment the ‘INTEL Compiler’ block.
6+
* In control.ctg, add the missing variable `lll` to the `/CONTROL/` common
7+
block.

CALPUFF_MODS/MAKEGEO/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
If using a 100m resolution, increase `mxnx` and `mxny` to `901` and `541` respectively
2+
in params.geo
3+
4+
* In subroutine `comline` (calutils.for), comment out the call to `getcl` and
5+
uncomment the Sun compiler block (this seems to work for both the intel
6+
and pgi compilers).

CALPUFF_MODS/TERREL/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
In terrel.for, delete the `flen` argument in the line `inquire(file=datafil(k),exist=lexist,flen=isize)`.
2+
This is a Lahey-specific argument.
3+
4+
* params.trl, comment out the ‘Lahey F95 Compiler’ block and
5+
uncomment the ‘Compaq DF Compiler’ block.
6+
* In `setsrtm()` (terrel.for), remove ‘access=caccess’ from the open statement
7+
(otherwise TERREL crashes when trying to read in the first
8+
line of an SRTM3 data file with a "sequential-access I/O to unit open
9+
for direct access" error)

0 commit comments

Comments
 (0)