This file is indexed.

/usr/share/dx/samples/scripts/Regrid is in dxsamples 4.4.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
input = Import("CO2.general",format="general");
frame17 = Select(input,17);

glyphs = AutoGlyph(frame17, scale=.5);
glyphs = Color(glyphs,"dim grey");

// force the glyphs to lie in front of the connected grid with a 2 pixel offset
glyphs = Options(glyphs,"fuzz",2);

grid = Construct([-100 -170], deltas = [10, 10], counts=[19, 34]);
camera = AutoCamera(grid);

connected = Regrid(frame17, grid);
colored = AutoColor(connected);
caption = Caption("default Regrid options", [.01 .99]);
collected = Collect(colored, glyphs, caption);
Display(collected,camera);

connected = Regrid(frame17, grid, radius=15);
colored = AutoColor(connected);
caption = Caption("Regrid with radius set to 15", [.01 .99]);
collected = Collect(colored,glyphs,caption);
Display(collected,camera);

connected = Regrid(frame17, grid, radius=45);
colored = AutoColor(connected);
caption = Caption("Regrid with radius set to 45", [.01 .99]);
collected = Collect(colored,glyphs,caption);
Display(collected,camera);

connected = Regrid(frame17, grid, nearest=4, radius=45);
colored = AutoColor(connected);
caption = Caption("Regrid with radius set to 45, nearest set to 4", [.01 .99]);
collected = Collect(colored,glyphs,caption);
Display(collected,camera);