This file is indexed.

/usr/share/metview/app-defaults/CommonMacroFuncs/eps is in metview-data 5.0.0~beta.1-1build1.

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Metview Macro

# **************************** LICENSE START ***********************************
#
# Copyright 2012 ECMWF. This software is distributed under the terms
# of the Apache License version 2.0. In applying this license, ECMWF does not
# waive the privileges and immunities granted to it by virtue of its status as
# an Intergovernmental Organization or submit itself to any jurisdiction.
#
# ***************************** LICENSE END ************************************

function eps(level,param,date,area,tronc,steps)

	# 33 members, for one or several steps/dates
	# the result is run1(step1/date1,step2...),run2(step1,step2...),...

	cs=1
	cd=1

	if type(steps)='list' then
		if 'to' in steps then
			cs=((steps[3]-steps[1])/12)+1
		else
			cs=count(steps)
		end if
	end if

	if type(date)='list' then
		if 'to' in date then
			cd=date(date[3])-date(date[1])+1
		else
			cd=count(date)
		end if
	end if

	# ensemble control (0)
	runs = retrieve(
			type	:	"cf",
			stream	:	"ef",
			levelist	:	level,
			param	:	param,
			date	:	date,
			step	:	steps,
			resol	:	tronc,
			area	:	area,
			grid	:	[2.5,2.5]
			)

	# perturbed fcsts, 1 to 32
	ptbd = retrieve(
			type	:	"pf",
			stream	:	"ef",
			levelist	:	level,
			param	:	param,
			date	:	date,
			step	:	steps,
			ensemble	:	[1,"to",32],
			resol	:	tronc,
			area	:	area,
			grid	:	[2.5,2.5]
			)

	for i = 1 to 32 do
		for k = 0 to (cs*cd)-1 do
			runs = runs & ptbd[i+32*k]
		end for
	end for

	return runs

end eps