Commands to control Corelyzer
From CwWiki
[edit]
Example IODP-based naming ID (leg, site, hole, core, type, section)
ID1: 199 1218 a 1 h 1 ID2: 199 1218 a 15 h 2
[edit]
Naming convention from IODP to Corelyzer
Session: <leg>_<site>
Example: "199_1218"
Track: <hole>_<core>
Example: "A_001"
Section: <site><hole>_<core><type>_<section>
Example: "1218a_001h_01"
Notes:
1. Create "Session" and "Track" in loadSection()
2. Data storage structure:
${HOME}/[Documents | My Documents]/Corelyzer/Core Repository/${SESSION}/images/
/annotations/
/attachments/
/images/
/datasets/
/outputs/
1. Arguments separated with tabs ('\t')
2. Access section <ID> with
a. <leg> <site> <hole> <core> <type> <section>
b. URL
c. Section name. The image filename without the extension.
Valid commands:
[edit]
load_section
Syntax: load_section <ID> <depth> <length> <url> Example: Load the section image of leg 199, site 1218, hole A, core 2, core type h, section 3 of length 1.5 meter at depth 10m, image file downloaded from "http://pumice.iodp.tamu.edu:8080/resteasy-asman/re?service=getFile&catalogName=EXP202&recordId=8360" > load_section 199 1218 A 2 h 3 10 1.5 http://pumice.iodp.tamu.edu:8080/resteasy-asman/re?service=getFile&catalogName=EXP202&recordId=8360
[edit]
delete_section
Syntax: delete_section <ID> Example: Delete the section image of leg 199, site 1218, hole A, core 2, core type h, section 3 > delete_section 199 1218 A 2 h 3
[edit]
set_section_top_depth
Syntax: set_section_top_depth <ID> <top_depth> Example: Move the section image of leg 199, site 1218, hole A, core 2, core type h, section 3 to depth 10m > set_section_top_depth 199 1218 a 2 h 3 10
[edit]
set_setction_visible_range
Syntax: set_section_visible_range <ID> <interval_top> <interval_bottom> Example: Show only 0.3m - 0.5m interval of the section image (leg 199, site 1218, hole A, core 2, type h, section 3) > set_section_visible_range 199 1218 a 2 h 3 0.3 0.5
[edit]
split_section
Syntax: split_section <ID> <split_interval_top> <split_interval_bottom> Example: Cut off(remove) interval 0.3m - 0.5m of the the section image (leg-site-...) > split_section 199 1218 a 2 h 3 0.3 0.5
[edit]
cut_interval_to_new_track
Syntax: cut_interval_to_new_track <ID> <interval_start> <interval_end> <new_track_name> Example: cut interval 0.3m - 0.5m of the section image (leg-site...) and place it to a new track named "composite" > cut_interval_to_new_track 199 1218 a 2 h 3 0.3 0.5 composite
[edit]
show_depth_range
Syntax: show_depth_range <top_depth_in_meter> <bottom_depth_in_meter> Example: show the depth range between 10 mbsf to 10.2 mbsf > show_depth_range 10 10.2
[edit]
jump_to_depth
Syntax: jump_to_depth <meter> Example: Jump to the depth of 10 meters below sea floor > jump_to_depth 10
[edit]
locate_section
Syntax: locate_section <ID> Example: Locate the section image of leg 199, site 1218, hole A, core 2, coretype h, section 3 > locate_section 199 1218 A 2 h 3
[edit]
locate_track
Syntax: locate_track <TrackID>
Example: Locate the track of hole A, core 2 (track name: a_2)
> locate_track a 2
ps. <TrackID> could be
1. <hole> <core>
2. A track name string
[edit]
quit
Syntax: quit Example: Disconnect from Corelyzer remote control > quit
[edit]
shutdown
Syntax: shutdown Example: shutdown remote control module (for tests only) > shutdown

