[netcdf-java] Data in British National Grid coordinates

Hi,

Does NetCDF-Java understand the "British National Grid" CRS 
(http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#british-national-grid)?
  A user of ncWMS has data in this CRS and nj seems to treat it as a generic 
curvilinear grid (the latest 4.2 version of ToolsUI seems to confirm this if 
I'm using it correctly).

I've put the CDL header of the dataset at the end of this email.  This seems to 
match the CF documentation, unless I've missed something.

TIA,
Jon

netcdf file:C:/Users/Jon/Desktop/test.ncml {
 dimensions:
   X = 2000;
   Y = 2000;
   lat = 4000000;
   lon = 4000000;
 variables:
   double X(X=2000);
     :standard_name = "projection_x_coordinate";
     :units = "m";
   double Y(Y=2000);
     :standard_name = "projection_y_coordinate";
     :units = "m";
   float lat(Y=2000, X=2000);
   float lon(Y=2000, X=2000);
   float variable(Y=2000, X=2000);
     :coordinates = "lat lon";
     :grid_mapping = "crs";
   int crs;
     :grid_mapping_name = "transverse_mercator";
     :semi_major_axis = 6377563.396; // double
     :semi_minor_axis = 6356256.91; // double
     :inverse_flattening = 299.3249646; // double
     :latitude_of_projection_origin = 49.0; // double
     :longitude_of_projection_origin = -2.0; // double
     :false_easting = 400000.0; // double
     :false_northing = -100000.0; // double
     :scale_factor_at_projection_origin = 0.9996012717; // double
     :_CoordinateTransformType = "Projection";
}

--
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading, UK
Tel: +44 (0)118 378 5213
http://www.resc.reading.ac.uk




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