stp-kigam.pl
is a version modified from stp-iris.pl for the Big Data Open Platform of Korea Institute of Geoscience and Mineral Resources.
PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install +LWP::UserAgent'
PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install +Date::Calc::XS'
PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install +LWP::Protocol::https'
https://data.kigam.re.kr/auth/join?lang=en
Some of terms for joininig it is written in Korean (21 March 2023).
https://data.kigam.re.kr/my-openapi/request/
You might need a static IP address.
mkdir -p ~/.stp-kigam
echo your_token > ~/.stp-kigam/token
chmod 600 ~/.stp-kigam/token
See the page of stp-iris.pl
The Big Data Open Platform can be also accessed in a general way after a slight modification of the HTTP's header, 'X-Open-Api-Token', as like a tutorial at https://data.kigam.re.kr/quake/data/web-services (written in Korean, accessed on 21 March 2023).
Guidelines for IRIS DMC services
are requiring no more than 5 concurrent connections and no more than 10 connections per second.
Avoid running too many processes of stp-iris.pl
simultaneously.
stp-iris.pl
sleeps for a while when the averaged number of connections exceeds a threshold.
Removing or changing this part in stp-iris.pl
needs carefulness.