Sample program to demostrate the alchimia module with volgrid6d.
Sample program to demostrate the alchimia module with volgrid6d.
1program alchimiavg6d
2
4USE termo
6USE volgrid6d_alchimia_class
8
9IMPLICIT NONE
10
11type(fndsv) :: vfn, vfnoracle
12character(len=10), allocatable:: mybout(:)
13type(volgrid6d),pointer :: myin(:),myout(:)
14
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/t_p.grb"
34filenameout="../data/tp.grb"
35
36call register_termo(vfn)
37
38CALL import(myin,filename=filenamein,decode=.true., time_definition=0, categoryappend=
"input")
39
41
42if (alchemy(myin,vfn,mybout,myout,copy=.true.,vfnoracle=vfnoracle) /= 0) then
43 print*, "I cannot make ",mybout
44
45 if (.not. shoppinglist(mybout,vfn,vfnoracle)) then
46 print*, " error shoppinglist"
47 stop 2
48 else
49 call display(compile_sl(vfnoracle))
50 stop 3
51 end if
52end if
53
55
56call export(myout,filenameout)
58
61
62
63call l4f_category_delete(category)
65
66end program alchimiavg6d
show on the screen the fnds and fndsv structure
Emit log message for a category with specific priority.
Global log4fortran destructor.
Global log4fortran constructor.
Export an object dirctly to a native file, to a gridinfo object or to a supported file format through...
Import an object dirctly from a native file, from a gridinfo object or from a supported file format t...
This module defines objects and methods for generating derivative variables.
classe per la gestione del logging
This module defines objects and methods for managing data volumes on rectangular georeferenced grids.