Commit ed01f661 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

New operator: settbounds - Set time bounds

parent 1f6939e5
......@@ -3,6 +3,10 @@
* using CDI library version 1.7.2
* Version 1.7.2 released
2016-03-18 Uwe Schulzweida
* New operator: settbounds - Set time bounds
2016-03-17 Uwe Schulzweida
* expr: renamed function log() to ln()
......
......@@ -133,6 +133,7 @@ Operator catalog:
Settime setyear Set year
Settime settunits Set time units
Settime settaxis Set time axis
Settime settbounds Set time bounds
Settime setreftime Set reference time
Settime setcalendar Set calendar
Settime shifttime Shift timesteps
......
......@@ -5,7 +5,7 @@
@Section = Modification
@Class = Modification
@Arguments = ifile ofile
@Operators = setdate settime setday setmon setyear settunits settaxis setreftime setcalendar shifttime
@Operators = setdate settime setday setmon setyear settunits settaxis settbounds setreftime setcalendar shifttime
@BeginDescription
This module sets the time axis or part of the time axis. Which part of the
......@@ -84,6 +84,16 @@ Sets the time axis.
@EndOperator
@BeginOperator_settbounds
@Title = Set time bounds
@Parameter = frequency
@BeginDescription
Sets the time bounds.
@EndDescription
@EndOperator
@BeginOperator_setreftime
@Title = Set reference time
@Parameter = date time [units]
......@@ -129,6 +139,8 @@ STRING Date (format: YYYY-MM-DD)
STRING Time (format: hh:mm:ss)
@Item = inc
STRING Optional increment (seconds, minutes, hours, days, months, years) [default: 1hour]
@Item = frequency
STRING Frequency of the time series (day, month, year)
@Item = calendar
STRING Calendar (standard, proleptic_gregorian, 360_day, 365_day, 366_day)
@Item = sval
......
......@@ -920,8 +920,8 @@ static const char *SetHelp[] = {
static const char *SettimeHelp[] = {
"NAME",
" setdate, settime, setday, setmon, setyear, settunits, settaxis, setreftime, ",
" setcalendar, shifttime - Set time",
" setdate, settime, setday, setmon, setyear, settunits, settaxis, settbounds, ",
" setreftime, setcalendar, shifttime - Set time",
"",
"SYNOPSIS",
" setdate,date ifile ofile",
......@@ -931,6 +931,7 @@ static const char *SettimeHelp[] = {
" setyear,year ifile ofile",
" settunits,units ifile ofile",
" settaxis,date,time[,inc] ifile ofile",
" settbounds,frequency ifile ofile",
" setreftime,date,time[,units] ifile ofile",
" setcalendar,calendar ifile ofile",
" shifttime,sval ifile ofile",
......@@ -954,6 +955,8 @@ static const char *SettimeHelp[] = {
" Sets the base units of a relative time axis.",
" settaxis Set time axis",
" Sets the time axis.",
" settbounds Set time bounds",
" Sets the time bounds.",
" setreftime Set reference time",
" Sets the reference time of a relative time axis.",
" setcalendar Set calendar",
......@@ -962,15 +965,16 @@ static const char *SettimeHelp[] = {
" Shifts all timesteps by the parameter sval.",
"",
"PARAMETER",
" day INTEGER Value of the new day",
" month INTEGER Value of the new month",
" year INTEGER Value of the new year",
" units STRING Base units of the time axis (seconds, minutes, hours, days, months, years)",
" date STRING Date (format: YYYY-MM-DD)",
" time STRING Time (format: hh:mm:ss)",
" inc STRING Optional increment (seconds, minutes, hours, days, months, years) [default: 1hour]",
" calendar STRING Calendar (standard, proleptic_gregorian, 360_day, 365_day, 366_day)",
" sval STRING Shift value (e.g. -3hour)",
" day INTEGER Value of the new day",
" month INTEGER Value of the new month",
" year INTEGER Value of the new year",
" units STRING Base units of the time axis (seconds, minutes, hours, days, months, years)",
" date STRING Date (format: YYYY-MM-DD)",
" time STRING Time (format: hh:mm:ss)",
" inc STRING Optional increment (seconds, minutes, hours, days, months, years) [default: 1hour]",
" frequency STRING Frequency of the time series (day, month, year)",
" calendar STRING Calendar (standard, proleptic_gregorian, 360_day, 365_day, 366_day)",
" sval STRING Shift value (e.g. -3hour)",
NULL
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment