Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Sep 12, 2023
1 parent 6a3710f commit 8fc9140
Show file tree
Hide file tree
Showing 12 changed files with 3,757 additions and 0 deletions.
33 changes: 33 additions & 0 deletions data/config/UGridConfig_default
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
////////////////////////////////////////////////////////////////////////////////
//
// Unstructured Grid configuration file.
//
// For additional information, please see the MET User's Guide.
//
////////////////////////////////////////////////////////////////////////////////

//
// Default mapping for Metadata.
//
metadata_map = [
{ key = "dim_face"; val = "nCells,nMesh2d_face"; },
{ key = "dim_node"; val = "nVertices,nMesh2d_node"; },
{ key = "dim_edge"; val = "nEdges,nMesh2d_edge"; },
{ key = "dim_time"; val = "Time,time_counter"; },
{ key = "dim_vert"; val = "nVertLevels"; },
{ key = "cell_id"; val = "indexToCellID,"; },
{ key = "lat_face"; val = "latCell,Mesh2d_face_y"; },
{ key = "lon_face"; val = "lonCell,Mesh2d_face_x"; },
{ key = "vert_face"; val = "zCell"; },
{ key = "lat_edge"; val = "latEdge,Mesh2d_edge_y"; },
{ key = "lon_edge"; val = "lonEdge,Mesh2d_edge_x"; },
{ key = "lat_node"; val = "latVertex,Mesh2d_node_y"; },
{ key = "lon_node"; val = "lonVertex,Mesh2d_node_x"; },
{ key = "time"; val = "xtime,time_centered"; }
];

////////////////////////////////////////////////////////////////////////////////

version = "V12.0.0";

////////////////////////////////////////////////////////////////////////////////
20 changes: 20 additions & 0 deletions src/libcode/vx_data2d_ugrid/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## @start 1
## Makefile.am -- Process this file with automake to produce Makefile.in
## @end 1

MAINTAINERCLEANFILES = Makefile.in

# Include the project definitions

include ${top_srcdir}/Make-include

# The library

noinst_LIBRARIES = libvx_data2d_ugrid.a
libvx_data2d_ugrid_a_SOURCES = \
ugrid_file.cc ugrid_file.h \
var_info_ugrid.cc var_info_ugrid.h \
data2d_ugrid.cc data2d_ugrid.h \
vx_data2d_ugrid.h
libvx_data2d_ugrid_a_CPPFLAGS = ${MET_CPPFLAGS}

Loading

0 comments on commit 8fc9140

Please sign in to comment.