Re: ncdigest V1 #726

hi all.. here is an interesting question.. i have a set of text files that
represent certain images, but so i can work with the images more freely i
was wondering if there was a way or many different ways of converting these
text files to netcdf?? thanks a bunch!

chad

-----Original Message-----
[mailto:owner-netcdfgroup@xxxxxxxxxxxxxxxx]On Behalf Of
martin.schultz@xxxxxxx
Sent: Wednesday, October 08, 2003 3:23 AM



Hi Mark,

    usually  ncks -A file file2   will do.

Martin


ncdigest writes:
 >
 > ncdigest           Tuesday, October 7 2003           Volume 01 : Number
726
 >
 >
 >
 > Today's Topics:
 > appending arbitrary netCDF files
 > Re: appending arbitrary netCDF files
 > 20031007:Forwarded post for Matthew Hanna
 >
 > ----------------------------------------------------------------------
 >
 > Date: Tue, 07 Oct 2003 13:55:00 -0600
 > From: "Mark A Ohrenschall" <Mark.A.Ohrenschall@xxxxxxxx>
 > Subject: appending arbitrary netCDF files
 >
 > Hello,
 >
 > I know I can use ncks to append two netCDF files which share a common
 > dimension, but I'd like to append two netCDF files which have
(syntactically)
 > nothing in common. No shared dimensions, coordinates, nada. I just want a
 > combined netCDF file.
 >
 > Is there any way to do this?
 >
 > Thanks,
 >
 > Mark
 >
 > ------------------------------
 >
 > Date: Tue, 07 Oct 2003 14:40:43 -0600
 > From: John Caron <caron@xxxxxxxxxxxxxxxx>
 > Subject: Re: appending arbitrary netCDF files
 >
 > Mark A Ohrenschall wrote:
 >
 > >Hello,
 > >
 > >I know I can use ncks to append two netCDF files which share a common
 > >dimension, but I'd like to append two netCDF files which have
(syntactically)
 > >nothing in common. No shared dimensions, coordinates, nada. I just want
a
 > >combined netCDF file.
 > >
 > >Is there any way to do this?
 > >
 > >Thanks,
 > >
 > >Mark
 > >
 > >
 > ncml can be used to create a "union" of two or more files. you can use
 > ucar.nc2.dataset.FileWriter to then copy to a physical netcdf file.
 >
 > see
 >
 > http://www.unidata.ucar.edu/packages/netcdf/ncml/NetcdfAggregation.html
 >
 > for more info on how to write the ncml.
 >
 > ------------------------------
 >
 > Date: Tue, 7 Oct 2003 14:52:51 -0600 (MDT)
 > From: Jeff Weber <jweber@xxxxxxxxxxxxxxxx>
 > Subject: 20031007:Forwarded post for Matthew Hanna
 >
 > Hello once again!  I just want to thank everyone who responded to my
 > post earlier.  The question concerned Navo's NetCDF convention and how
 > to store longitude and latitude data for an irregular grid.  The
 > predefined lat and lon variables were coordinate variables and, as such,
 > 1 dimensional.  I needed to store 2 dimensional coordinates.  For the
 > moment, we have decided that we will be using the most common suggestion
 > which was to use coordinate variables, such as x(x) and y(y), as indices
 > into longitude(x, y) and latitude(x, y) variables.  This will suffice
 > and work quite well for our purposes.  That decision may change in the
 > coming month however since I have learned that there are some predefined
 > grid variables, grid_lon and grid_lat, that may be of use.  These new
 > variables are not well described and I haven't heard from Navo about
 > them yet.  Once again, thank you to everyone who offered suggestions and
 > help.
 >
 >
 >
 > Matthew Hanna
 >
 > ------------------------------
 >
 > End of ncdigest V1 #726
 > ***********************

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@xxxxxxx                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: