Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 2a6d312

Browse files
committed
pa-desktop
git-svn-id: https://daisy-model.googlecode.com/svn/trunk@4214 5f5bf4bb-3343-0410-8278-4fa8eb3319dc
1 parent 07eae10 commit 2a6d312

File tree

4 files changed

+48
-9
lines changed

4 files changed

+48
-9
lines changed

NEWS

+26
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,32 @@ headlines of the changes since the last version. For more detailed
66
information on changes, read the 'ChangeLog' file from the source
77
release.
88

9+
* 5.17
10+
11+
** New 'post-process' program to convert daisy log files.
12+
13+
The program converts a Daisy log file into a Daisy log file. The main
14+
function is to select a subset of the data, but it may also convert
15+
between units.
16+
17+
(defprogram convert post-process
18+
;; Select a subset of a ldf file.
19+
(file "Estrup-content-Bromide.dlf") ;Input file.
20+
(where "post.dlf") ;Output file.
21+
;; Limit x position.
22+
(left 300 [cm])
23+
(right 400 [cm])
24+
;; Limit depth.
25+
(top -50 [cm])
26+
(bottom -100 [cm])
27+
;; Limit in time.
28+
(after 2000 1 1)
29+
(before 2001 1 1)
30+
;; Convert unit.
31+
(dimension [kg/m^3]))
32+
33+
(run convert)
34+
935
* 5.16
1036

1137
** New action 'spray_surface'.

TODO

-8
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ TODO --- things that needs to be done with Daisy -*- org -*-
22

33
* Signe: Udv�lg s�jle af D2 fil.
44

5-
** 1D output (by default) if only one column is selected.
6-
7-
** time_columns
8-
9-
** header
10-
11-
** option to force 1D? weighted average in specified interval?
12-
135
** Dokumenter
146

157
* Osvaldo C & N

sample/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LIBS = cz-sample.dai cz-management.dai \
44
it-management.dai it-soil.dai dk-soil.dai log-sample.dai \
55
init-soil.dai pedo-soil.dai irrigation.dai dk-management.dai \
66
dk-veg-man.dai
7-
SETUPS = test-organic.dai rootmatch.dai \
7+
SETUPS = test-post.dai test-organic.dai rootmatch.dai \
88
test-refman.dai genweather.dai test-GP2D.dai test-colloids.dai \
99
test-prd.dai test-aba.dai OpenMI_simple.dai OpenMI_management.dai \
1010
heat-properties.dai batch.dai sample.dai test.dai DrainDrying.dai \

sample/test-post.dai

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
;;; test-post.dai --- Test Daisy post processing of dlf files.
2+
3+
(defprogram convert post-process
4+
;; Select a subset of a ldf file.
5+
(file "Estrup-content-Bromide.dlf") ;Input file.
6+
(where "post.dlf") ;Output file.
7+
;; Limit x position.
8+
(left 300 [cm])
9+
(right 400 [cm])
10+
;; Limit depth.
11+
(top -50 [cm])
12+
(bottom -100 [cm])
13+
;; Limit in time.
14+
(after 2000 1 1)
15+
(before 2001 1 1)
16+
;; Convert unit.
17+
(dimension [kg/m^3]))
18+
19+
(run convert)
20+
21+
;;; test-post.dai ends her.

0 commit comments

Comments
 (0)