<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Jon,</p>
    <p>1) I'd use 'days'. It is a valid standard name apart from the
      'days since date' formalism. It's not perfect, but it's legal. You
      could, alternatively, request a new standard name.<br>
    </p>
    <p>2) Use a time_bounds variable. I would tend to set the time to be
      July 1 at midnight for each year, and set the bounds for each year
      to Jan 1 of that year and Jan 1 of the next year.<br>
    </p>
    Grace and peace,<br>
    <br>
    Jim<br>
    <br>
    <div class="moz-cite-prefix">On 3/14/17 10:43 AM, Jon Blower wrote:<br>
    </div>
    <blockquote
      cite="mid:EB3856FE-A371-40A4-9758-6DA9F8F9266A@reading.ac.uk"
      type="cite">
      <pre wrap="">Hi all,

We need to structure a NetCDF file that will hold a variable that represents the day of the year on which an event happened (integers from 0 to 366). This value is recorded every year for a number of years. I have a couple of questions about how best to do this:

1. What is the best standard name to use for the day of the year? I didn’t find anything in the standard name table, although I might have missed it.

2. What would be the best way to define the time axis? Each point along the axis would represent a whole year, rather than an instant in time. I could simply pick an arbitrary instant (e.g. midnight on 1st Jan) to represent the year, but is there a better way?

Thanks in advance for any help!

Jon

_______________________________________________
CF-metadata mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CF-metadata@cgd.ucar.edu">CF-metadata@cgd.ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata">http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div style="color: rgb(0, 0, 0); font-family: Helvetica;
        font-size: medium; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height:
        normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; word-wrap: break-word;
        -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;
        ">
        <span class="Apple-style-span" style="border-collapse: separate;
          color: rgb(0, 0, 0); font-family: Helvetica; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-align: -webkit-auto; text-indent: 0px; text-transform:
          none; white-space: normal; widows: 2; word-spacing: 0px;
          border-spacing: 0px; -webkit-text-decorations-in-effect: none;
          -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
          0px; ">
          <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
            -webkit-line-break: after-white-space; ">
            <span class="Apple-style-span" style="border-collapse:
              separate; font-family: Helvetica; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; line-height: normal; orphans: 2; text-align:
              -webkit-auto; text-indent: 0px; text-transform: none;
              white-space: normal; widows: 2; word-spacing: 0px;
              border-spacing: 0px; -webkit-text-decorations-in-effect:
              none; -webkit-text-size-adjust: auto;
              -webkit-text-stroke-width: 0px; ">
              <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; line-height: normal;
                orphans: 2; text-align: -webkit-auto; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px; -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px; word-wrap: break-word;
                -webkit-nbsp-mode: space; -webkit-line-break:
                after-white-space; ">
                <table style="max-width: 100%; border-collapse:
                  collapse; border-spacing: 0px; color: rgb(51, 51, 51);
                  font-size: 14px; font-family: Times; line-height:
                  12px; " border="0" cellpadding="2" cellspacing="2"
                  width="500">
                  <tbody>
                    <tr>
                      <td align="center" height="71" width="71">
                        <span style="font-size: 11px; ">
                          <span style="font-family: arial, helvetica,
                            sans-serif; ">
                            <a href="http://www.cicsnc.org/"
                              style="color: rgb(38, 58, 143);
                              text-decoration: none; font-weight: bold;
                              ">
                              <img alt="CICS-NC"
                                src="cid:part1.72D33AD9.D1B153B3@cicsnc.org"
                                style="max-width: 80%; height: auto;
                                vertical-align: middle; border: 0px; ">
                            </a>
                            Visit us on
                            <br>
                            <a href="http://www.facebook.com/cicsnc"
                              style="color: rgb(38, 58, 143);
                              text-decoration: none; font-weight: bold;
                              ">
                              Facebook
                            </a>
                          </span>
                        </span>
                      </td>
                      <td valign="top">
                        <span style="font-size: 11px; "><span
                            style="font-family: arial, helvetica,
                            sans-serif; ">
                            <b>Jim Biard</b>
                            <br>
                            <b>Research Scholar</b>
                            <br>
                            <a href="http://cicsnc.org/" style="color:
                              rgb(38, 58, 143); text-decoration: none;
                              font-weight: bold; ">
                              Cooperative Institute for Climate and
                              Satellites NC
                            </a>
                            <br>
                            <a href="http://ncsu.edu/" style="color:
                              rgb(38, 58, 143); text-decoration: none;
                              font-weight: bold; ">
                              North Carolina State University
                            </a>
                            <br>
                            <a href="http://ncdc.noaa.gov/"
                              style="color: rgb(38, 58, 143);
                              text-decoration: none; font-weight: bold;
                              ">
                              NOAA National Centers for Environmental
                              Information
                            </a>
                            <br>
                            <i>formerly NOAA’s National Climatic Data
                              Center</i>
                            <br>
                            151 Patton Ave, Asheville, NC 28801
                            <br>
                            e: <a href="mailto:jbiard@cicsnc.org"
                              style="color: rgb(38, 58, 143); ">jbiard@cicsnc.org</a>
                            <br>
                            o: +1 828 271 4900
                            <br>
                            <br>
                            <i style="color:Gray">Connect with us on
                              Facebook for <a
                                href="https://www.facebook.com/NOAANCEIclimate"
                                style="color: rgb(38, 58, 143);">climate</a>
                              and
                              <a
                                href="https://www.facebook.com/NOAANCEIoceangeo"
                                style="color: rgb(38, 58, 143); ">ocean
                                and geophysics</a>
                              information, and follow us on Twitter at
                              <a
                                href="https://twitter.com/NOAANCEIclimate"
                                style="color: rgb(38, 58, 143); ">@NOAANCEIclimate</a>
                              and
                              <a
                                href="https://twitter.com/NOAANCEIocngeo"
                                style="color: rgb(38, 58, 143); ">@NOAANCEIocngeo</a>.
                            </i>
                          </span>
                        </span>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <br>
              </div>
            </span>
          </div>
        </span>
      </div>
    </div>
  </body>
</html>