Gtool Project
GFD Dennou Club
dcmodel Project
日本語
Main Page
Namespaces
Classes
Loading...
Searching...
No Matches
gtdata
gtdata_netcdf
gdncxtypename.f90
Go to the documentation of this file.
1
! Copyright (C) GFD Dennou Club, 2000. All rights reserved.
2
3
subroutine
gdncxtypename
(ixtype, xtype)
4
use
netcdf,
only
: &
5
& nf90_byte, &
6
& nf90_char, &
7
& nf90_short, &
8
& nf90_int, &
9
& nf90_float, &
10
& nf90_double
11
implicit none
12
integer
,
intent(in)
:: ixtype
13
character(*)
,
intent(out)
:: xtype
14
select case
(ixtype)
15
case
(0)
16
xtype =
"error"
17
case
(nf90_char)
18
xtype =
"char"
19
case
(nf90_byte)
20
xtype =
"byte"
21
case
(nf90_short)
22
xtype =
"short"
23
case
(nf90_int)
24
xtype =
"int"
25
case
(nf90_float)
26
xtype =
"float"
27
case
(nf90_double)
28
xtype =
"double"
29
case default
30
xtype =
""
31
end select
32
end subroutine
gdncxtypename
gdncxtypename
subroutine gdncxtypename(ixtype, xtype)
Definition
gdncxtypename.f90:4