Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

x2sys_05.sh 471 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. #!/usr/bin/env bash
  2. #
  3. ln -fs "${GMT_SRCDIR:-.}"/../mgd77/01010221.mgd77 .
  4. OLDX=$X2SYS_HOME
  5. export X2SYS_HOME=.
  6. gmt x2sys_init TEST -Dmgd77 -Emgd77 -F -Gd -Rd -I15m
  7. echo "$X2SYS_HOME" >> $X2SYS_HOME/TEST/TEST_paths.txt
  8. gmt x2sys_binlist -TTEST 01010221.mgd77 -D --FORMAT_FLOAT_OUT=%.3f > x2sys_05.txt
  9. rm -rf TEST
  10. diff --strip-trailing-cr x2sys_05.txt "${GMT_SRCDIR:-.}"/x2sys_05.txt > fail
  11. if [ ! "X$OLDX" = "X" ]; then # Reset prior setting
  12. export X2SYS_HOME=$OLDX
  13. fi
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...