Difference between revisions of "SPOTL"
Jump to navigation
Jump to search
(Created page with "'''This page list the operation procedure of tide forecast from the SPOTL program '''") |
|||
| Line 1: | Line 1: | ||
'''This page list the operation procedure of tide forecast from the SPOTL program ''' | '''This page list the operation procedure of tide forecast from the SPOTL program ''' | ||
| + | |||
| + | |||
| + | To use SPOTL for tide forecast, please follow the procedure below: | ||
| + | :1. Define the location in Longitude and Latitude, and Time | ||
| + | :2. Create a file called something like '''doit.oclook.osu.indo''' and modify the following line based on selected tide model: | ||
| + | <pre class="bash"> | ||
| + | #!/bin/sh | ||
| + | # | ||
| + | # this file extracts tidal constants for lat $1 long $2 | ||
| + | # and writes the result in a hartid-compatiable file $3 | ||
| + | # e.g. doit.oclook.osu.indo 11.68 92.77 hc.pblair.osubengal | ||
| + | ../bin/oclook o1.osu.indonesia $1 $2 o > tmp | ||
| + | ../bin/oclook k1.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook k2.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook m2.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook p1.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook q1.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook n2.osu.indonesia $1 $2 o >> tmp | ||
| + | ../bin/oclook s2.osu.indonesia $1 $2 o >> tmp | ||
| + | cat tmp | ../bin/harprp o > $3 | ||
| + | rm tmp | ||
| + | </pre> | ||
| + | : This file is to define the tide model used for your forecast model. The location will be taken from the other file that we defined later. | ||
| + | <br> | ||
| + | :3. Create a file called something like '''doit.oclook.cgp1''' and modify the following line based on your location: | ||
| + | <pre class="bash"> | ||
| + | #sh doit.oclook.osu.indo $1 $2 $3 | ||
| + | sh doit.oclook.osu.indo 5.375 095.240 hc08.CGP.ACEH | ||
| + | sh doit.oclook.osu.indo -1.157 100.374 hc08.CGP.PADG | ||
| + | sh doit.oclook.osu.indo -5.193 122.938 hc08.CGP.SUL1 | ||
| + | sh doit.oclook.osu.indo -5.512 123.714 hc08.CGP.SUL2 | ||
| + | sh doit.oclook.osu.indo -5.484 123.747 hc08.CGP.SUL3 | ||
| + | </pre> | ||
| + | <br> | ||
| + | |||
| + | :4. Now you need the third file | ||
Revision as of 06:52, 4 February 2020
This page list the operation procedure of tide forecast from the SPOTL program
To use SPOTL for tide forecast, please follow the procedure below:
- 1. Define the location in Longitude and Latitude, and Time
- 2. Create a file called something like doit.oclook.osu.indo and modify the following line based on selected tide model:
#!/bin/sh # # this file extracts tidal constants for lat $1 long $2 # and writes the result in a hartid-compatiable file $3 # e.g. doit.oclook.osu.indo 11.68 92.77 hc.pblair.osubengal ../bin/oclook o1.osu.indonesia $1 $2 o > tmp ../bin/oclook k1.osu.indonesia $1 $2 o >> tmp ../bin/oclook k2.osu.indonesia $1 $2 o >> tmp ../bin/oclook m2.osu.indonesia $1 $2 o >> tmp ../bin/oclook p1.osu.indonesia $1 $2 o >> tmp ../bin/oclook q1.osu.indonesia $1 $2 o >> tmp ../bin/oclook n2.osu.indonesia $1 $2 o >> tmp ../bin/oclook s2.osu.indonesia $1 $2 o >> tmp cat tmp | ../bin/harprp o > $3 rm tmp
- This file is to define the tide model used for your forecast model. The location will be taken from the other file that we defined later.
- 3. Create a file called something like doit.oclook.cgp1 and modify the following line based on your location:
#sh doit.oclook.osu.indo $1 $2 $3 sh doit.oclook.osu.indo 5.375 095.240 hc08.CGP.ACEH sh doit.oclook.osu.indo -1.157 100.374 hc08.CGP.PADG sh doit.oclook.osu.indo -5.193 122.938 hc08.CGP.SUL1 sh doit.oclook.osu.indo -5.512 123.714 hc08.CGP.SUL2 sh doit.oclook.osu.indo -5.484 123.747 hc08.CGP.SUL3
- 4. Now you need the third file