GISC Tokyo receives files uploaded through either HTTPS PUT (recommended) or HTTPS POST and
- provides uploaded files as part of GISC Tokyo's cache service.
- provides uploaded files to GTS for global and regional exchange, when required.
This mechanism is mainly used for:
- backup uploading of files by NCs and DCPCs whose principal GISC has a backup agreement with GISC Tokyo.
- backup uploading of files by NCs and DCPCs who bilaterally agree with GISC Tokyo.
** As of August 2013, GISC Tokyo is not supporting fax data.
Procedures for participating centers:
Agreement on using the service
- Contact wis-jma(at)met.kishou.go.jp about the possibility of using this service.
Preparation
- Provide JMA with a list of bulletin headings to be uploaded as file.
- Prepare files to be uploaded, according to the file format, file naming convention and extension, which is defined in the Manual on GTS with several local rules.
- Send several sample files in ZIP format to GISC Tokyo through email.
- Prepare a file uploading tool*. Some message switching systems support HTTPS PUT/POST. Command line tools can be used as well. Technical specifications of HTTPS PUT/POST methods are described here.
Testing phase
- Endpoint URL, location of SSL certificate, username and password for a testing server will be informed to the contact person.
- Download the SSL certificate file from the instructed URL and extract a pem file from ZIP.
- Upon confirmation of GISC Tokyo, upload files to the testing server.
Operational phase
- Endpoint URL, location of SSL certificate, username and password for an operational server will be informed to the contact person.
- Download the SSL certificate file from the instructed URL and extract a pem file from ZIP.
- Upon confirmation of GISC Tokyo, upload files to the operational server.
(*) Examples of file uploading tools
A sample ruby program for file uploading is here.
A usage example of the sample program:
ruby ./htput.rb -v --cafile=xxxxxx.pem --user=youraccount --pass=yourpassword endpointURL uploadfilename
An example of command line tool:
curl --verbose --cacert xxxxxx.pem -u youraccount:yourpassword --upload-file uploadfilename endpointURL