How to create a dimension within a dimension

From: Tabish Ansari <tabishumaransari_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 28 2014 - 11:48:50 MDT

Hi

I have a netcdf file with variables in the following format:

varname (Time, emissions_zdim, south_north, west_east)

​where ncdump -h on the file gives:

dimensions:
Time = UNLIMITED ; // (792 currently)
emissions_zdim_stag = 1 ;
south_north = 109 ;
west_east = 99 ;

Now I need to change this to :

dimensions:
Time = UNLIMITED ; // (792 currently)
DateStrLen = 19 ;
west_east = 99 ;
south_north = 109 ;
emissions_zdim = 1 ;
variables:
char Times(Time, DateStrLen) ;
float E_ISO(Time, emissions_zdim, south_north, west_east) ;

​So, in short, I need to create a "Times" dimension which has further two
dimensions:

Times(0) = Time (unlimited/792)
Times(1)​ = DateStrLen (19)

​How can I achieve this?​

-- 
Thanks & Regards
Tabish Umar Ansari
MS Research Scholar
Environmental & Water Resources Engineering Division
Department of Civil Engineering
IIT Madras

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 28 11:49:00 2014

This archive was generated by hypermail 2.1.8 : Tue Apr 29 2014 - 09:04:20 MDT