Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
338595c4
Commit
338595c4
authored
Aug 31, 2006
by
Uwe Schulzweida
Browse files
pstreamDefVlist: unpack netCDF data if datatype = FLT64
parent
611089d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
338595c4
...
...
@@ -3,6 +3,7 @@
* using CDI library version 1.0.2
* Seltime: print warning message if parameter not found
* pstreamDefVlist: unpack netCDF data if datatype = FLT64
* Version 1.0.2 released
2006-08-01 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
@@ -23,8 +24,8 @@
* gradsdes: fix bug for only one record without time [report: Angelika Heil]
* gradsdes: fix problem for variable names with - character
* namelist update
* New module: Setbox [Etienne Tourigny
)
* history format changed to nco [Etienne Tourigny
)
* New module: Setbox [Etienne Tourigny
]
* history format changed to nco [Etienne Tourigny
]
* process: set MAX_ARGS from 1024 to 8192
* Version 1.0.1 released
...
...
doc/tex/mod/Settime
View file @
338595c4
...
...
@@ -122,15 +122,15 @@ INTEGER Value of the new month
@Item = year
INTEGER Value of the new year
@Item = units
STRING Base units of the time axis (minutes, hours, days, months, years).
STRING
Base units of the time axis (minutes, hours, days, months, years).
@Item = date
STRING Date (format YYYY-MM-DD)
STRING
Date (format YYYY-MM-DD)
@Item = time
STRING Time (format HH:MM)
STRING
Time (format HH:MM)
@Item = inc
STRING Optional increment (e.g. 12hour) [default: 0hour]
STRING
Optional increment (e.g. 12hour) [default: 0hour]
@Item = calendar
STRING Calendar (standard, 360days, 365days, 366days)
STRING
Calendar (standard, 360days, 365days, 366days)
@Item = sval
STRING Shift value (e.g. -3hour)
@EndParameter
...
...
src/pstream.c
View file @
338595c4
...
...
@@ -789,8 +789,18 @@ void pstreamDefVlist(int pstreamID, int vlistID)
if
(
cdoDefaultDataType
!=
CDI_UNDEFID
)
{
int
varID
,
nvars
=
vlistNvars
(
vlistID
);
for
(
varID
=
0
;
varID
<
nvars
;
varID
++
)
vlistDefVarDatatype
(
vlistID
,
varID
,
cdoDefaultDataType
);
if
(
cdoDefaultDataType
==
DATATYPE_FLT64
)
{
for
(
varID
=
0
;
varID
<
nvars
;
varID
++
)
{
vlistDefVarAddoffset
(
vlistID
,
varID
,
0
.
0
);
vlistDefVarScalefactor
(
vlistID
,
varID
,
1
.
0
);
}
}
}
vlistDefAttribute
(
vlistID
,
"CDO"
,
cdoComment
());
if
(
cdoTimer
)
timer_start
(
timer_write
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment