Re: Fraction into mm

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 19 2009 - 21:54:12 MDT

Kalim,

You may try:

f = addfile("...", "r")
soilw = f->soilw
soilw@units = "mm"

But, you need to know how to convert "fraction" to "mm".

Good luck.

Wei Huang
huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Oct 19, 2009, at 7:42 PM, kalim ullah wrote:

> Respected Wei Huang,
> Actually this file (soilw.0-10cm.gauss.2005.nc ) is opened given
> below when I used it in NCL program the soil moisture unit
> indicates in fraction but I want to change it into millimeter(mm).
> Due to this reason I requested you, thanks for your cooperation.
> best regards,
> kalim
> --- On Mon, 10/19/09, Wei Huang <huangwei@ucar.edu> wrote:
>
> From: Wei Huang <huangwei@ucar.edu>
> Subject: Re: Fraction into mm
> To: "kalim ullah" <kalimrid@yahoo.com>
> Date: Monday, October 19, 2009, 8:20 AM
>
> Kalim,
>
> I have no idea what this is.
> Sorry can not help you.
>
> Wei Huang
> huangwei@ucar.edu
> VETS/CISL
> National Center for Atmospheric Research
> P.O. Box 3000 (1850 Table Mesa Dr.)
> Boulder, CO 80307-3000 USA
> (303) 497-8924
>
>
>
>
>
> On Oct 19, 2009, at 9:09 AM, kalim ullah wrote:
>
>> Respected Wei Huang,
>> I want to calculate a unit of mean Daily Volumetric Soil Moisture
>> in mm but it is in fraction. kindly help me in this regards, it
>> would be great favor. the file is given below.
>> best regards,
>> kalim
>> netcdf soilw.0-10cm.gauss.2005 {
>> dimensions:
>> lon = 192 ;
>> lat = 94 ;
>> time = UNLIMITED ; // (365 currently)
>> variables:
>> float lat(lat) ;
>> lat:units = "degrees_north" ;
>> lat:actual_range = 88.542f, -88.542f ;
>> lat:long_name = "Latitude" ;
>> float lon(lon) ;
>> lon:units = "degrees_east" ;
>> lon:long_name = "Longitude" ;
>> lon:actual_range = 0.f, 358.125f ;
>> double time(time) ;
>> time:units = "hours since 1-1-1 00:00:0.0" ;
>> time:long_name = "Time" ;
>> time:actual_range = 17566752., 17575488. ;
>> time:delta_t = "0000-00-01 00:00:00" ;
>> time:avg_period = "0000-00-01 00:00:00" ;
>> short soilw(time, lat, lon) ;
>> soilw:long_name = "mean Daily Volumetric Soil
>> Moisture between 0-10 cm Below Ground Level" ;
>> soilw:valid_range = 0.f, 1.f ;
>> soilw:actual_range = 0.1f, 0.4335f ;
>> soilw:units = "fraction" ;
>> soilw:add_offset = 3.2765f ;
>> soilw:scale_factor = 1.e-04f ;
>> soilw:missing_value = 32766s ;
>> soilw:precision = 4s ;
>> soilw:least_significant_digit = 3s ;
>> soilw:GRIB_id = 144s ;
>> soilw:GRIB_name = "SOILW" ;
>> soilw:var_desc = "Volumetric Soil Moisture\n",
>> "DD" ;
>> soilw:dataset = "NCEP Reanalysis Daily Averages" ;
>> soilw:level_desc = "Between 0-10 cm BGL\n",
>> "L" ;
>> soilw:statistic = "Mean\n",
>> "M" ;
>> soilw:parent_stat = "Individual Obs\n",
>> "I" ;
>>
>> // global attributes:
>> :Conventions = "COARDS" ;
>> :title = "4x daily NMC reanalysis (2005)" ;
>> :history = "created 2005/01/03 by Hoop (netCDF2.3)" ;
>> :description = "Data is from NMC initialized
>> reanalysis\n",
>> "(4x/day). It consists of T62 variables
>> interpolated to\n",
>> "pressure surfaces from model (sigma)
>> surfaces." ;
>> :platform = "Model
>>
>>
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 19 21:54:16 2009

This archive was generated by hypermail 2.1.8 : Fri Oct 23 2009 - 11:36:30 MDT