Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
chanage '*.para' input suffix for remove_*.for series
Browse files Browse the repository at this point in the history
* and update README for explaing required input filenames
  • Loading branch information
sean0921 committed Aug 27, 2019
1 parent 6cf1d28 commit 2297c88
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 02_remove_trend/remove_trend.for
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
pi=atan(1.)*4

open(1,file='remove.inp',status='old')
open(2,file='comfilt.para',status='old')
open(2,file='remove.para',status='old')
ns=0
stat=0
do while (stat==0)
Expand Down
2 changes: 1 addition & 1 deletion 03_remove_period/remove_period.for
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
pi=atan(1.)*4

open(1,file='remove.inp',status='old')
open(2,file='comfilt.para',status='old')
open(2,file='remove.para',status='old')
ns=0
stat=0
do while (stat==0)
Expand Down
2 changes: 1 addition & 1 deletion 04_remove_antenna/remove_antenna.for
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
pi=atan(1.)*4

open(1,file='remove.inp',status='old')
open(2,file='comfilt.para',status='old')
open(2,file='remove.para',status='old')
ns=0
stat=0
do while (stat==0)
Expand Down
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
![](https://i.imgur.com/SmBl5UK.png)

## Compiling by GNU Fortran

* Linux / Other Unix-like platform:
- Install `make`(only tested in GNU make), `gfortran`(maybe included in `gcc` in some OS/distribution).
- Type `make all` in each subfolder, it should be compiled (with debug symbol by default).
Expand All @@ -14,5 +15,25 @@
- type `make mingw` manully in each subfolder, it should be compiled (with debug symbol by default).
- MinGW build mode is NOT automatically detected, you should type `make mingw` on your own, so that the content of the program will be correct

## Temporary Install path
* Not really set yet, just make a temporary test directory named `test`, and place on there.
## Input file

* `bern2time`:
- `getpl.gout` (from `getpl`)
- `sta-file` (from `getpl`)

* `comfilt` (`raw`
- `comfilt.inp` (`raw.inp`, adapted from `sta-file`, format example:`comfilt.inp.example`/`raw.inp.example`)

* `remove_{trend,period}`
- `remove.inp` (copied from `comfilt.inp`/`raw.inp`)

* `remove_attenna`:
- `remove.inp` (copied from `comfilt.inp`/`raw.inp`)

* `fit`:
- `fit.inp` (copied from `comfilt.inp`/`raw.inp`)

## make a binary package (tarball)

* `make package` (static linux binary)
* `make mingw_package` (static win32 excutable)

0 comments on commit 2297c88

Please sign in to comment.