~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to settings/Config.Example.ini

  • Committer: Michael Lynch
  • Date: 2008-02-01 06:21:07 UTC
  • Revision ID: mike@mike-desktop-20080201062107-uhqip0rcpsfc91mq
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
 
; Helioviewer.org Example Configuration   ;
3
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4
 
;
5
 
; This file contains basic configuration parameters used to control
6
 
; Helioviewer.org's behavior. Before Helioviewer.org can be used, this file
7
 
; must be copied or renamed to Config.ini and adjusted to reflect your system
8
 
; settings. Many of the parameters are described below. For a more detailed
9
 
; description of the entire installation process, see the installation
10
 
; documentation located on the Helioviewer Wiki:
11
 
;
12
 
;   http://wiki.helioviewer.org/wiki/Installing_Helioviewer.org
13
 
;
14
 
; Questions/Comments?
15
 
;   contact@helioviewer.org
16
 
;
17
 
[version]
18
 
last_update = 2012/04/02
19
 
build_num   = 700
20
 
 
21
 
[viewer]
22
 
; Number of seconds the observation time will advance forward or move backward
23
 
; when the user steps through time.
24
 
default_timestep = 86400
25
 
 
26
 
; The amount of pixels outside the visible viewport which should be pre-fetched
27
 
; in order to speed up rendering. For example, to have Helioviewer.org download
28
 
; all tiles which are currently visible plus tiles which are just outside of the
29
 
; viewport, prefetch_size could be set to 512.
30
 
prefetch_size    = 0
31
 
 
32
 
[image_zoom_range]
33
 
; The default spatial scale, in arc-seconds per pixel, at 1 AU, for which images
34
 
; should be displayed. For optimal performance, it is best to pick a scale which
35
 
; is either equal to or a factor of two of the natural scale or one of your data
36
 
; sources. The default scale used in Helioviewer is based off AIA images:
37
 
;    default scale = aia_scale * 2^3 * (dsun_aia/1 au)
38
 
;                  = 0.6 * 8 * (150872000000/149597870700)
39
 
; This will result in the default zoom level being an AIA image at 1/8 scale.
40
 
default_image_scale = 4.8408817
41
 
 
42
 
; The minimum spatial scale (arc-seconds/pixel) for which an image should be
43
 
; displayed. This limits how much a user can zoom in to an image. The value
44
 
; chosen should be a factor of two of the default_image_scale, i.e.
45
 
; min_image_scale = default_image_scale * (2^n) for some integer value of n.
46
 
min_image_scale     = 0.60511022
47
 
 
48
 
; The maximum spatial scale (arc-seconds/pixel) for which an image should be
49
 
; displayed. This limits how much a user can zoom out for an image. The value
50
 
; chosen should be a factor of two of the default_image_scale, i.e.
51
 
; min_image_scale = default_image_scale * (2^n) for some integer value of n.
52
 
max_image_scale     = 154.90822
53
 
 
54
 
; The maximum number of tile layers which may be displayed simultaneously.
55
 
max_tile_layers     = 5
56
 
 
57
 
[filepaths]
58
 
; The root directory where of your Helioviewer.org installation. This must be
59
 
; somewhere that Apache allows access to.
60
 
root_dir     = /var/www
61
 
 
62
 
; Directory where cache files will be written.  Must be writable by Apache.
63
 
; You may want to set up a cron job to periodically cull old or infrequently
64
 
; accessed caches.
65
 
cache_dir    = /var/www/cache
66
 
 
67
 
; The root directory of your JPEG 2000 archive, if one is available.
68
 
jp2_dir      = /var/www/jp2
69
 
 
70
 
; Directory to scan for new JPEG 2000 images to add to the archive
71
 
jp2_incoming_dir = /home/user/incoming
72
 
 
73
 
[urls]
74
 
; The URL that corresponds with the root_dir specified above.
75
 
web_root_url     = http://localhost
76
 
 
77
 
; The URL for static assets
78
 
static_asset_url = http://localhost
79
 
 
80
 
; The URL that corresponds with the jp2_dir specified above.
81
 
jp2_root_url     = http://localhost/jp2
82
 
 
83
 
; The root URL to your JPIP server if one is available.
84
 
jpip_root_url    = jpip://localhost:8090
85
 
 
86
 
[server]
87
 
; Back-end server for Helioviewer.org. Most often the front-end and back-end
88
 
; will be run together on the same server in which case the back-end is
89
 
; simply api/index.php. If another URL is specified, all queries will be
90
 
; sent to that server instead and JSONP will be used for any AJAX requests.
91
 
back_end = "api/index.php"
92
 
 
93
 
[executables]
94
 
; Location of the kdu_merge binary to be used during JPX image generation.
95
 
kdu_merge_bin = /usr/local/bin/kdu_merge
96
 
 
97
 
; Location of the kdu_merge binary to be used during tile generation.
98
 
kdu_expand    = /usr/local/bin/kdu_expand
99
 
 
100
 
[jhelioviewer]
101
 
; The maximum frames allowed for a JPX image request. Requests which would go
102
 
; over this limit are automatically adjusted (sub-sampled) and a JPX file with
103
 
; this many or fewer frames is generated instead.
104
 
; Note that due to limitations relating to the length allowed for kdu_merge
105
 
; command-line arguments, values which are very large may not always work.
106
 
; Future versions of Helioviewer may include a work-around to this limitation,
107
 
; however, the limit currently allowed should probably be sufficient for most
108
 
; cases.
109
 
max_jpx_frames = 1000
110
 
 
111
 
[movie_params]
112
 
; FFmpeg location
113
 
ffmpeg = ffmpeg
114
 
 
115
 
; x264 FFpreset to use during encoding of high-quality and regular-quality
116
 
; H.264 movies. Note that this is only applicable to older versions of x264:
117
 
; newer versions of x264 have been simplified and no longer use the preset
118
 
; files.
119
 
x264_preset = "lossless_fast"
120
 
x264_hq_preset = "ultrafast"
121
 
 
122
 
; The maximum number of frames to allow for static movie (ogv, mp4, avi)
123
 
; generation.
124
 
max_movie_frames = 300
125
 
 
126
 
; Maximum number of threads FFmpeg is allowed to use during movie generation.
127
 
; No all video codecs have support for multi-threaded encoding, but two of
128
 
; the libraries used by Helioviewer.org (libx264 and libvpx) do support
129
 
; parallelization. Note that while setting this value to '0' will cause
130
 
; libx264 to use all available CPU's, this does not work for libvpx and
131
 
; should therefor be avoided.
132
 
ffmpeg_max_threads = 4
133
 
 
134
 
; The default framerate to use for generated movies
135
 
default_movie_framerate = 15
136
 
 
137
 
; JSON Data feed of videos to be displayed in the user video gallery.
138
 
; If no URL is specified, local video feed will be used.
139
 
user_video_feed = ""
140
 
 
141
 
[statistics]
142
 
; Whether basic usage statistics should be collected by Helioviewer.org.
143
 
; Currently the information collected is very basic and does not include
144
 
; information about the specifics of the query, but rather the type of
145
 
; query and when the query was made.
146
 
enable_statistics_collection = true
147
 
 
148
 
[extra]
149
 
; An optional Google Analytics Web Property ID. If set, the Google Analytics
150
 
; code will be included on the main page using the specified ID.
151
 
; See https://www.google.com/analytics for more information.
152
 
google_analytics_id = ""
153
 
 
154
 
[news]
155
 
; Main news page URL
156
 
news_url = http://blog.helioviewer.org/
157
 
 
158
 
; RSS/Atom News feed to display headlines from
159
 
news_feed_url = http://blog.helioviewer.org/feed/
160
 
 
161
 
[contact]
162
 
; Contact email address
163
 
contact_email = contact@helioviewer.org
164
 
 
165
 
[branding]
166
 
; Image that appears at the top-left corner of the homepage
167
 
main_logo = resources/images/logos/simple.png
168
 
 
169
 
; Image used for the about dialog
170
 
about_logo = resources/images/logos/about_white.png
171
 
 
172
 
; Image that appears at the top of the API documentation
173
 
api_logo = resources/images/about.png
174
 
 
175
 
[debug]
176
 
; Disables caching of tile and also front-end content (JavaScript and CSS)
177
 
disable_cache = false
178
 
 
179
 
; Whether or not Helioviewer.org should use compressed/minified JavaScript
180
 
; files. If true, Helioviewer will attempt to include a single optimized
181
 
; version (helioviewer.min.js) of all the custom JavaScript code instead
182
 
; including one file for each class, which will decrease loading time.
183
 
; Note that if you downloaded the Helioviewer code source directly using
184
 
; Bazaar, you will need to generate the optimized file(s) using the
185
 
; Apache Ant build script located in the scripts/ directory before they
186
 
; can be used.
187
 
compress_js  = true
188
 
 
189
 
; Whether or not Helioviewer.org should use compressed/minified CSS files.
190
 
compress_css = true