[Go-essp-tech] DRS question - temporal subset
stephen.pascoe at stfc.ac.uk
stephen.pascoe at stfc.ac.uk
Thu Feb 9 05:14:26 MST 2012
I think drslib will cope -- if not it's a bug -- but the product deduction code often needs both time bounds.
Can you send me the error message.
Thanks,
Stephen.
---
Stephen Pascoe +44 (0)1235 445980
Centre of Environmental Data Archival
STFC Rutherford Appleton Laboratory, Harwell Oxford, Didcot OX11 0QX, UK
-----Original Message-----
From: go-essp-tech-bounces at ucar.edu [mailto:go-essp-tech-bounces at ucar.edu] On Behalf Of Estanislao Gonzalez
Sent: 09 February 2012 11:06
To: go-essp-tech at ucar.edu
Cc: Stephanie Legutke
Subject: [Go-essp-tech] DRS question - temporal subset
Hi all,
This is what the DRS reference says:
"Temporal Subsets: Time instants and periods (N1(-N2))
Time instants and periods will be represented by
‘yyyy[mm[dd[hh][mm]]][-clim]’, where ‘yyyy’,
‘mm’, ‘dd’, ‘hh’ ‘mm’ are integer year, month, day, hour, and minute,
respectively, and enough
(and just enough) of the suffixes should be added to unambiguously
resolve the interval between
time-samples contained in the file or virtual file URL. (For example,
monthly mean data would
include “mm”, but not “dd”, “hh”, or “mm”; “subhr” data would include
all suffixes.) The
optional “-clim” is appended when the file contains a climatology. For
example, a file with
sampling frequency of “mo” and the time designation 196001-198912-clim
represents the
monthly mean climatology (12 time values) computed for the period
extending from 1/1960-
12/1989. Note that the DRS does not explicitly specify the calendar type
(e.g., Julian,
Gregorian), but the calendar will be indicated by one of the attributes
in each netCDF file."[1]
From the title I infer that only the start point is required as part of
the temporal subset, though the text speaks about "enough information to
unambiguously resolve the interval between
time-samples".
The problem is that I get 3hr and subhr data with only the starting
time-stamp, the drslib cannot cope with this.
Should the drslib be adapted to accept that case or all files renamed?
What about the rest of the system? Have anyone already tried publishing
such files? Make sense?
And what was the intention with the parenthesis in the Temporal Subsets
title?
Thanks,
Estani
[1] - http://cmip-pcmdi.llnl.gov/cmip5/docs/cmip5_data_reference_syntax.pdf
--
Estanislao Gonzalez
Max-Planck-Institut für Meteorologie (MPI-M)
Deutsches Klimarechenzentrum (DKRZ) - German Climate Computing Centre
Room 108 - Bundesstrasse 45a, D-20146 Hamburg, Germany
Phone: +49 (40) 46 00 94-126
E-Mail: gonzalez at dkrz.de
_______________________________________________
GO-ESSP-TECH mailing list
GO-ESSP-TECH at ucar.edu
http://mailman.ucar.edu/mailman/listinfo/go-essp-tech
More information about the GO-ESSP-TECH
mailing list