netcdf MODEL_NAME {
//
// ***********************************************************************************************************
// Incorporated Research Institutions for Seismology (IRIS)
// Data Management Center (DMC)
// Data Products Group
//
// ***********************************************************************************************************
//
// All earth models contributed to the IRIS Earth Model Collaboration (EMC) are converted to a
// common netCDF (network Common Data Form) format that is compatible with the EMC
// visualization software.
//
// For more information on using the netCDF data format, visit:
//
// http://geon.unavco.org/unavco/IDV_seismic_tomo_data.html
//
// The following is the CDL file for a model with velocity in km/s.
//
// ***********************************************************************************************************
//
// dimensions - model size (integer) that provide length or size of the
// variable arrays
//
dimensions:
longitude= 461 ;
latitude = 301 ;
depth = 21 ;
//
// variables - represent coordinate values and model data as one-dimensional
// arrays
//
variables:
//
// in a 3D grid, each point is defined by a set of (latitude,
// longitude, depth)
//
float latitude(latitude) ;
latitude:long_name = "Latitude; positive north" ;
latitude:units = "degrees_north" ;
latitude:standard_name = "latitude" ;

float longitude(longitude) ;
longitude:long_name = "Longitude; positive east" ;
longitude:units = "degrees_east" ;
longitude:standard_name = "longitude" ;

float depth(depth) ;
"depth:long_name = "depth below earth surface ;
depth:units = "kilometer ";
depth:positive = "down ";

//
// data values as a function of (latitude, longitude, depth).
// define as many variables as needed
//
float vs (depth,longitude,latitude) ;
vs:long_name = "S-velocity in km/s" ;
//
// missing_value - if provided, this value should be outside the valid
// range so that the generic applications would treat them as missing
//
vs:missing_value = 99999.f ;
vs:_FillValue = 99999.f ;
//
// add_offset - if provided, this number would be added to the data
// after it is read by the application
//
vs:add_offset = "10.f" ;
//
// scale_factor - if provided, data would be multiplied by this value
// after they are read by the application
//
vs:scale_factor = "2.f" ; /
//
// global attributes
//
:title = "MODEL TITLE" ;
:id = "MODEL_ID";
:summary = "Put a summary here.\n",
"You may break the summary to multiple lines.\n",
"Just make sure that each line ends with a ','\n “,
and the last line ends with a ';'\n",
"" ;
:keywords = "seismic, shear, shear wave, s wave, velocity";
//
// Conventions - if provided, it is a global attribute that is a character
// array for the name of the conventions followed by the file. See:
//
// http://www.unidata.ucar.edu/software/netcdf/conventions.html
//
:Conventions = "CF-1.0" ;
//
// Metadata_Conventions - the global attribute indicating the convention that
// the metadata are conforming to for more information see:
//
// http://www.unidata.ucar.edu/software/netcdf-java/formats/DataDiscoveryAttConvention.html
//
:Metadata_Conventions = "Unidata Dataset Discovery v1.0";
:creator_name = "your name" ;
:creator_url = "http://www.organization.org/model" ;
:creator_email = "you@organization.org" ;
:institution = "Your Organization" ;
:acknowledgment = "acknowledgment statement" ;
:references = " Put as many references as necessary.\n",
"one reference per line.\n",
"Just make sure that each line ends with a ','\n “,
and the last line ends with a ';'\n",
"" ;
:history = "model version" ;
:comment = "model converted to netCDF by IRIS DMC" ;
:geospatial_lat_min = 10.00;
:geospatial_lat_max = 85.00;
:geospatial_lat_units = "degrees_north" ;
:geospatial_lat_resolution = 0.5;
:geospatial_lon_min = -170.00;
:geospatial_lon_max = -55.0;
:geospatial_lon_units = "degrees_east" ;
:geospatial_lon_resolution = 0.5;
:geospatial_vertical_min = 669;
:geospatial_vertical_max = 70;
:geospatial_vertical_units = "kilometer" ;
:geospatial_vertical_resolution = 1;
:geospatial_vertical_positive = "down" ;
:time_coverage_start = "start" ;
:time_coverage_end = "present" ;
}