Quick Start


There are several FLOW simulations here. You can create the same images following the instructions. To make it easier, we prepare a tar ball (*.tar.gz) in each example including the config-file and a shell script 'prepare.sh'. The 'prepare.sh' is going to download a set of SPICE kernels which size is as follows, and convert them appropriately.
generic_kernels Basic
(Rosetta WAC)
Saturn Ring
(Cassini ISS NAC)
Polygon model
(Hayabusa AMICA)
Polygonal FOV
(VEX VMC)
Pushbroom
(SELENE TC)
WMS
(SELENE HDTV)
DSK Type 2
(MEX HRSC SRC)
download size [MiB] 23.7 2.8 45.5 18.6 41.8 51.5 50.8 612.0

Before running the scripts in this page, set the environment variables "FLOW_DATA_PREFIX" and "SPICE_TOBIN". The following is a bash-shell example:
$ export FLOW_DATA_PREFIX=(your_kernel_dir)/
$ export SPICE_TOBIN=/path/to/cspice/exe/tobin

Basic (Rosetta WAC)
download tar-ball / config / kernels
color_rosetta
overview
This example creates a ROSETTA WAC simulation observed at 2009-11-13T14:23:00. Refer to Rosetta Earth swingby successful to compare.
how to make
$ tar zxvf color_rosetta.tar.gz
$ cd color_rosetta
$ ./prepare.sh
$ flow_se color_rosetta.lua | flow_ig -o test.png
Saturn Ring (Cassini ISS NAC)
download tar-ball / config / kernels
ring_saturn
overview
This example simulates the rings of Saturn obtained by Cassini ISS NAC at 2004-03-27T13:10:00. Refer to An 'Eyeful' of Saturn. to compare.
how to make
$ tar zxvf ring_saturn.tar.gz
$ cd ring_saturn.tar.gz
$ ./prepare.sh
$ flow_se ring_saturn.lua | flow_ig -o test.png
Polygon model (Hayabusa AMICA)
download tar-ball / config / kernels
stl_hayabusa
overview
This example creates an asteroid Itokawa shot observed by Hayabusa at 2005-10-10T07:35:40 which corresponds to product 'ST_2447883873_b' in Hayabusa Project Science Data Archive. Rotate the simulated image 90 degrees clockwise to compare.
how to make
$ tar zxvf stl_hayabusa.tar.gz
$ cd stl_hayabusa
$ ./prepare.sh
$ gzip -d models/itokawa_f0049152.stl.gz
$ flow_se stl_hayabusa.lua | flow_ig -o test.png

Polygonal FOV (VEX VMC)
download tar-ball / config / kernels
fov_polygon_vex
overview
Some instruments have polygonal shapes of their FOVs. This example shows a simulation of Venus Express VMC which has the octagonal FOV.
how to make
$ tar zxvf fov_polygon_vex.tar.gz
$ cd fov_polygon_vex
$ ./prepare.sh
Download venus texture from the internet (search) , then put it into texture/ directory:
$ mv (downloaded_venus.jpg) texture/venus.jpg
$ flow_se fov_polygon_vex.lua | flow_ig -o test.png
Pushbroom (SELENE TC)
download tar-ball / config / kernels
pb_selene_tc
overview
This example simulates a push broom scanner. SELENE Terrain Camera (TC) adopted the push broom scanner, and the SPICE IK contains only one line definition of FOV (4096 x 1).
how to make
$ tar zxvf pb_selene_tc.tar.gz
$ cd pb_selene_tc
$ ./prepare.sh
$ flow_se pb_selene_tc.lua | flow_ig -o test.png
notice
- High resolution texture is required if the observed area is narrow.
- It takes too much time because the simulation is performed repeatedly.
Dynamic Frame (Hinode SOT)
download tar-ball / config
df_hinode_sot
overview
This example simulates Venus Transit observed by HINODE SOT at 2012-06-05T22:30:00. Refer to Hinode Views 2012 Venus Transit to compare.
how to make
$ tar zxvf df_hinode_sot.tar.gz
$ cd df_hinode_sot
$ ./prepare.sh
Download sun texture and venus texture from the internet, then put them into texture/ directory respectively:
$ mv (downloaded_sun.jpg) texture/sun.jpg
$ mv (downloaded_venus.jpg) texture/venus.jpg
$ flow_se df_hinode_sot.lua | flow_ig -o test.png
notice
There is no HINODE's SPICE kernels, then dummy SPICE kernels are prepared:
- orbit.bsp ... dummy orbit (at 600 km above from the Earth)
- hinode.tf ... dummy attitude (Venus-oriented using Dynamic-Frame)
- hinode.ti ... dummy instrument (based on Hinode SOT)

WMS (SELENE HDTV)
download tar-ball / config / kernels
wms_selene_hdtv
overview
This example shows the simulation using Web Map Server to overlay the lunar texture. The target is a shot taken by SELENE HDTV WIDE at 2007-11-07T05:56:00.
Refer to KAGUYA (SELENE) Image Taking of Earth-Rise by HDTV .
how to make
$ tar zxvf wms_selene_hdtv.tar.gz
$ cd wms_selene_hdtv
$ ./prepare.sh
$ flow_se wms_selene_hdtv.lua | flow_ig -x ge_disable_light -o test.png
notice
This example is trying to connect the USGS Web Map Server (http://onmoon.jpl.nasa.gov/wms.cgi).
DSK Type 2 (MEX HRSC SRC)
download tar-ball / config / kernels
dsk_mex_hrsc
overview
This example shows the simulation of Phobos image taken by Mars Express HRSC SRC at 2006-01-20T23:07:49. SPICE DSK Type 2 is used as a shape model of Phobos.
Refer to Sub-Mars to trailing side of Phobos . Rotate the simulated image 90 degrees anticlockwise to compare.
how to make
$ tar zxvf dsk_mex_hrsc.tar.gz
$ cd dsk_mex_hrsc
$ ./prepare.sh
$ flow_se dsk_mex_hrsc.lua | flow_ig -o test.png
notice
SPICE DSK Type 2 (a shape model format) is experimental. To run this example, use alpha_dsk_c instead of the normal cspice when compiling. Go to alpha_dsk page in the NAIF, and read DSK_alpha_test.pdf.

license and policy

darts c-soda isas jaxa