Re: Change data size of one dimension

From: Jiang, Lifen <lfjiang_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 28 2013 - 09:17:21 MST

Hi Wei,

Thank you for your reply! I will check it.

Lifen


2013-02-28



Jiang, Lifen



发件人: Wei Huang
发送时间: 2013-02-28 10:03:00
收件人: Jiang, Lifen
抄送: ncl-talk
主题: Re: [ncl-talk] Change data size of one dimension
 
Lifen,


If your NC file is NC4, and defined multiple unlimited dimension,
you can do this easily. Otherwise, you may want to convert your
current NC file to multiple unlimited dimension NC4 files first,
and then do the expansion later.


You may check our example at:
http://www.ncl.ucar.edu/Applications/write_nc4_mud.shtml


Weu


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 Feb 28, 2013, at 8:33 AM, "Jiang, Lifen" <lfjiang@ou.edu> wrote:


Hello NCL:

My NetCDF file has 8 dimensions. One dimension is thickness of soil layers. It has 6 values (m):
0.022, 0.058, 0.154, 0.409, 1.085, 2.872.

Now I need to change these 6 values into 20 values (no relationship between values) but want to leave all other 7 dimensions as they are.

How can I do that very efficiently? (May do it very often later)

Does anyone have the idea? I really appreciate any help!

Lifen






2013-02-28



Jiang, Lifen
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 28 09:17:45 2013

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2013 - 14:47:31 MST