Hi Timothée, Ferret can read your data as-is and create the netCDF file for you: yes? columns/delimiter=" " myfile.datCheck out the on line Ferret documentation at http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/current/fer_html.htm. ("COLUMNS" is an alies for SET DATA/FORMAT=DELIMITED -- look in the index under that) You can elect to name your variables with /VAR= Below is a session cut-and-paste after cat-ing the fragment of the file that you sent. - steve =========== > ferret NOAA/PMEL TMAP FERRET v5.81 Solaris 5.6 - 07/14/05 3-Oct-05 16:39 yes? columns/delimiter=" " test.dat yes? show data currently SET data sets: 1> ./test.dat (default) name title I J K L V1 V1 1:20480 ... ... ... V2 V2 1:20480 ... ... ... V3 V3 1:20480 ... ... ... V4 V4 1:20480 ... ... ... V5 V5 1:20480 ... ... ... V6 V6 1:20480 ... ... ... V7 V7 1:20480 ... ... ... V8 V8 1:20480 ... ... ... V9 V9 1:20480 ... ... ... V10 V10 1:20480 ... ... ... V11 V11 1:20480 ... ... ... V12 V12 1:20480 ... ... ... V13 V13 1:20480 ... ... ... V14 V14 1:20480 ... ... ... V15 V15 1:20480 ... ... ... V16 V16 1:20480 ... ... ... (all values missing) yes? list v1,v2,v3,v4,v5,v6,v7,v8,v9,v10 DATA SET: ./test.dat X: 0.5 to 9.5 Column 1: V1 Column 2: V2 Column 3: V3 Column 4: V4 Column 5: V5 Column 6: V6 Column 7: V7 Column 8: V8 Column 9: V9 Column 10: V10 V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 1 / 1: 848.0 -80.55 -7.133 50.00 16.10 -999.0 -999.0 9.00 11.00 2.00 2 / 2: 848.0 -80.98 -7.200 50.00 16.80 -999.0 -999.0 7.00 3.00 22.00 3 / 3: 848.0 -81.33 -7.367 50.00 17.90 -999.0 -999.0 4.00 12.00 3.00 4 / 4: 848.0 -81.33 -7.000 50.00 16.40 -999.0 -999.0 3.00 11.00 33.00 5 / 5: 848.0 -81.37 -6.617 50.00 16.70 -999.0 -999.0 12.00 0.00 10.00 6 / 6: 848.0 -82.00 -7.067 50.00 18.20 -999.0 -999.0 10.00 3.00 3.00 7 / 7: 848.0 -82.88 -5.633 50.00 17.50 -999.0 -999.0 75.00 0.00 0.00 8 / 8: 848.0 -83.33 -4.000 50.00 16.60 -999.0 -999.0 12.00 0.00 4.00 9 / 9: 848.0 -82.50 -4.000 50.00 16.50 -999.0 -999.0 1.00 7.00 0.00 yes? save/file=myfile.nc v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12,v13,v14,v15,v16 ================================================= Timothée Brochier wrote: hello, -- º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º¤ø,¸¸,ø¤º Steve Hankin, NOAA/PMEL -- Steven.C.Hankin@noaa.gov 7600 Sand Point Way NE, Seattle, WA 98115-6349 ph. (206) 526-6080, FAX (206) 526-6744 |