novovur.blogg.se

Simple lsl html compiler v 1.0
Simple lsl html compiler v 1.0












simple lsl html compiler v 1.0

The dimension variables are available to you in Ferret commands as pseudo-variables. These are essentially parameter statements that assign certain numbers that will be used in the Variables section to define axes and variable dimensions. One of these dimensions can be of "unlimited" size (i.e., it can grow).

simple lsl html compiler v 1.0

In this section, the sizes of the grid dimensions are specified. The full text of this file is included with the Ferret distribution as $FER_DIR/doc/converting_to_netcdf.basic. All of the following text in small Courier font constitutes a real CDL file it can be copied verbatim and used to generate a netCDF file.

simple lsl html compiler v 1.0

The resulting file my_file.cdl is ready to use or to make final modifications to with an editor.Ī CDL file consists of three sections: Dimensions, Variables, and Data.

simple lsl html compiler v 1.0

SAVE/FILE=my_file.cdf/TITLE="My Global Data" u,v SET VARIABLE/TITLE="Meridional Velocity"/UNITS="cm/sec" v SET VARIABLE/TITLE="Zonal Velocity"/UNITS="cm/sec" u

  • From Ferret issue the commands DEFINE AXIS/X=2.5E:2.5W:5/UNITS=degrees xlongĭEFINE AXIS/Y=87.5S:87.5N:5/UNITS=degrees ylat.
  • The following commands would achieve the goal with Ferret doing the majority of the work: Suppose that we wish to create a CDL file to describe a data set entitled "My Global Data" which contains variables u and v in cm/sec on a 5×5 degree global lat/long grid. The remainder of this section provides further details. The file converting_to_netcdf.f which is located in the Ferret documentation directory ($FER_DIR/doc) contains a complete description and example of these three steps. The ncgen utility will create most of the FORTRAN or C code needed for this task. Create a program that will read your particular data and insert them into the netCDF file. Convert this CDL file into a netCDF file with the ncgen utility.ģ. Note: Ferret itself often provides the simplest way to create the CDL file (see the following section).Ģ. Create a CDL (the ASCII NetCDF Description Language) file that describes the axes, grids, and variables of the desired output data set. There are three steps required to convert data to netCDF if your data is not already readable by Ferret:ġ.














    Simple lsl html compiler v 1.0