Sample program to demostrate the alchimia module with vol7d.
Sample program to demostrate the alchimia module with vol7d.
1program alchimiav7d
2
4USE termo
7USE vol7d_alchimia_class
10
11IMPLICIT NONE
12type(fndsv) :: vfn,vfnoracle
13character(len=10), allocatable:: mybout(:)
14type(vol7d_dballe) :: myin,myout
15character(len=255) :: filenamein,filenameout
16
17TYPE(l4f_handle) :: category
18INTEGER :: ier
19CHARACTER(len=512):: a_name
20
21
22call l4f_launcher(a_name)
23
24
26
27
28category=l4f_category_get_handle(a_name)
29
31
32mybout = [character(len=10) :: "B12192"]
33filenamein="../data/example_temp.bufr"
34filenameout="../data/tp.bufr"
35
36call register_termo(vfn)
37
38call init(myin,filename=filenamein, file=.true., categoryappend="input")
39call init(myout,filename=filenameout, file=.true., write=.true., wipe=.true., categoryappend="output",template="generic")
40
41
43
45
46if (alchemy(myin%vol7d,vfn,mybout,myout%vol7d,
copy=.true.,vfnoracle=vfnoracle) /= 0 )
then
47 print*, "I cannot make ",mybout
48
49 if (.not. shoppinglist(mybout,vfn,vfnoracle)) then
50 print*, " error shoppinglist"
51 stop 2
52 else
53 call display(compile_sl(vfnoracle))
54 stop 3
55 end if
56end if
57
59
62
65
66
67call l4f_category_delete(category)
69
70end program alchimiav7d
show on the screen the fnds and fndsv structure
Emit log message for a category with specific priority.
Global log4fortran destructor.
Global log4fortran constructor.
This module defines objects and methods for generating derivative variables.
classe per la gestione del logging
Classe per la gestione di un volume completo di dati osservati.
classe per import ed export di volumi da e in DB-All.e
Classe per la gestione delle variabili osservate da stazioni meteo e affini.