find missing days, set to a nodata value

From: Leif Truelsen <truelsen.leif_at_nyahnyahspammersnyahnyah>
Date: Mon Dec 09 2013 - 11:10:58 MST

Hello,

I am dealing with daily AWS data that cover multiple years, but only on
days in which observations occurred or where they met some sort of quality
filter. For example,

day tmean
1980-01-01 -3.3
1980-01-02 -2.1
1980-01-04 0.2
1980-01-05 0.4
...

I want to parse through the data and set days where there are no
observations (e.g., 1980-01-03 as above) to a FillValue. I don't want them
to simply be skipped, but recorded as a missing observation. Can anyone
help me understand how to do this? Below is the information for my netcdf
file as I have it currently. Many thanks for your assistance.

   file global attributes:
   dimensions:
      date = 10348
   variables:
      float pdd ( date )
         units : deg C
         long_name : daily pdd sum from daily mean temperature

      float tmean ( date )
         units : deg C
         long_name : daily mean temperature

      double date ( date )
         _FillValue : 9.969209968386869e+36
         calendar : standard
         units : days since 1950-01-01 00:00:00

      integer year ( date )

      integer month ( date )

      integer day ( date )

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Dec 9 11:11:09 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:39:30 MST