Skip to content

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Aug 24, 2016
1 parent 1348099 commit 745a980
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/FAQs.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
### What is network code? ###
### What is network code?

Each network is represented by a network code. For example, Hi-net
network has a code of `0101`, while V-net `0105`.

For a list of all network codes supported, please refer to [Networks](/networks).

### What is Maxspan? And how to choose it? ###
### What is Maxspan? And how to choose a suital value?

NIED Hi-net website sets a limitation of data size in one request:
NIED Hi-net website sets a limitation of data size in individual request:

1. Record Length <= 60 min
2. Number of channels * Record Length <= 12000 min

Just take Hi-net as example, Hi-net network has about 800 station and
As an example, Hi-net network has about 800 stations and
24000 channels. According to the limitations, the record length should
be no more than 5 minutes long in one web request. So the `Maxspan`,
be no more than 5 minutes long in one request. So the `Maxspan`,
allowed maximum record length, should be no more than 5 for Hi-net
network with all stations selected.

Expand All @@ -23,7 +23,7 @@ limitation. Using this script, you can requst datas with a much longer
record length, this script will split the request into multiple
sub-requests, each has a record length no more than `Maxspan` minutes.

### What's the workflow of HinetContRequest.py? ###
### What's the workflow of HinetContRequest.py?

1. read configure file
2. login Hi-net website
Expand All @@ -37,7 +37,7 @@ sub-requests, each has a record length no more than `Maxspan` minutes.
8. unzip all zip files, merge all cnt files into one cnt file
9. rename and cleanup

### What's MaxSleepCount and SleepTime? ###
### What's MaxSleepCount and SleepTime?

After posting a data request, Hi-net server will deal with this request and
prepare waveform data. During the preparation, user is not allowed to post
Expand All @@ -47,6 +47,6 @@ The script will check the status of data preparation. If the data is not ready,
it will sleep for `SleepTime` seconds, and then check the status again, until
the data is ready or the number of checks larger than `MaxSleepCount`.

So the maximum sleep time for one request is MaxSleepCount\*SleepTime seconds,
if the data is still not ready, the script will report an error.
So the maximum sleep time for one request is MaxSleepCount\*SleepTime seconds.
If the data is still not ready, the script will report an error.

2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pages:
- LICENSE: LICENSE.md

extra:
version: 'v0.1.0'
version: 'v0.2.0'
author:
github: 'seisman'

Expand Down
20 changes: 20 additions & 0 deletions docs/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,23 @@ In most cases, what you need is only `-C` option.

If you run `python ch2pz.py 201010010600 -C U`, you will get SAC PoleZero
files looks like `N.FRNH.U.SAC_PZ` under directory `201010010600`.


## HinetJMARequest.py

### Usage

```
$ python HinetJMARequest.py -h
Request arrival time data or focal mechanism catalog from Hi-net.
Usage:
HinetJMARequest.py (--measure | --mecha) <yyyymmdd> <span> [--os=OS]
HinetJMARequest.py -h
Options:
-h --help Show this help.
--measure Request arrival time data.
--mecha Request focal mechanism catalog.
--os=OS Line break format, choose from DOS or UNIX. [default: DOS]
```

0 comments on commit 745a980

Please sign in to comment.