ROMS/TOMS Web Sites & ROMS: NetCDF and Matlab David Robertson and Hernan Arango IMCS, Rutgers University New Brunswick, NJ, USA.

Slides:



Advertisements
Similar presentations
United Kingdom New Zealand United Kingdom New Zealand Iceland.
Advertisements

GQ STYLE By Elena Agadzhanova.
DataTools Models Data, models and tools: Dealing with any complex hydraulic engineering problem invariable use is made of: data, models and tools.
® Page 1 Intel Compiler Lab – Intel Array Visualizer HDF Workshop VI December 5, 2002 John Readey
Streaming NetCDF John Caron July What does NetCDF do for you? Data Storage: machine-, OS-, compiler-independent Standard API (Application Programming.
ROMS/TOMS Documentation David Robertson IMCS, Rutgers University New Brunswick, NJ, USA.
MATLAB Extras Week 16 – 5/12/09 Kate Musgrave
ROMS/TOMS Web Sites David Robertson IMCS, Rutgers University New Brunswick, NJ, USA.
Consensus Adspend Forecast May Consensus Forecast: Total Advertising Expenditure Source: Warc ‘Consensus Forecast May 2010’ Current prices, y/y.
UPnP Certification Guidelines Rob Ranck Executive director, UIC Global Inventures, Inc.
Status of netCDF-3, netCDF-4, and CF Conventions Russ Rew Community Standards for Unstructured Grids Workshop, Boulder
Web 2.0 Presentation BUS 111 Michael Elliott.  Logos Skype.
® Page 1 Intel Compiler Lab – Intel Array Visualizer HDF Workshop VIII October 27, 2004 John Readey
Developing a NetCDF-4 Interface to HDF5 Data
Country Selection Second Grade. Continent - Antarctica No countries.
The large land areas are called continents. There are seven continents.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Data Access to Marine Surface Observations and Products from COADS 29 January, 2002 Steven Worley National Center for Atmospheric Research.
Chapter 6 Server-side Programming: Java Servlets
France Belgium Italy South Africa USA UK Australia New Zealand Israel Austria Norway Ireland Den- mark Finland Spain Canada Nether- lands Sweden Switzer-
_______________________________________________________________CMAQ Libraries and Utilities ___________________________________________________Community.
Software Overview Environment, libraries, debuggers, programming tools and applications Jonathan Carter NUG Training 3 Oct 2005.
ITC Research Computing Support Using Matlab Effectively By: Ed Hall Research Computing Support Center Phone: Φ Fax:
The GRADE website and membership Yngve Falck-Ytter, M.D. Case Western Reserve University School of Medicine Barcelona, January 12&13, 2012 GRADE January.
The HDF Group Introduction to netCDF-4 Elena Pourmal The HDF Group 110/17/2015.
Parallel I/O Performance Study and Optimizations with HDF5, A Scientific Data Package MuQun Yang, Christian Chilan, Albert Cheng, Quincey Koziol, Mike.
Threaded Programming Lecture 2: Introduction to OpenMP.
More Developed Countries Australia Canada France Germany Israel Italy Japan Norway Russia South Korea Spain Sweden Taiwan United Kingdom United States.
The United States The Economy. What is GDP ? Gross Domestic Product (GDP): The total market (or dollar) value of all final goods and services produced.
1/6 I Barrón – UIC – High Speed Rail in the rest of the world Warsaw, 16 November 2011 Iñaki Barrón de Angoiti Director of the Passengers and High Speed.
Hello Around the World ! Europe France Everyone in France speaks French. Bonjour (BONE-zhure) Example Slide.
The (IMG) Systems for Comparative Analysis of Microbial Genomes & Metagenomes: N America: 1,180 Europe: 386 Asia: 235 Africa: 6 Oceania: 81 S America:
MATLAB's HDF5 Updates John Evans Image and Scientific Data Formats.
COUNTRIES WHERE ARE YOU FROM?.
2016 Global Manufacturing Competitiveness Index. 2Deloitte and US Council on Competitiveness I 2016 Global Manufacturing Competitiveness IndexCopyright.
User’s Needs/Problems Fill out form by tomorrow for your data needs. Make website for regional climate modeling library (at least references). ICTP CD.
Building ROMS and using the ROMS Matlab repository David Robertson and Hernan Arango IMCS, Rutgers University New Brunswick, NJ, USA.
G8 Group of Eight. G8 G8 G Originally G7 - France, Germany, Italy, Japan, Britain, Canada and the U.S Originally G7 - France, Germany,
Updated Branding Standards May 15, Logo Mark © The Advantage Group International, Inc. Filed to trademark the entire logo as one entity (not separated)
9/21/04 James Gallagher Server-Side: The Basics This part of the workshop contains an overview of the two servers which OPeNDAP has developed. One uses.
FLAGS. What is a Flag? A flag is a piece of cloth that has different shapes or colors on it. They are used to tell people that they: 1) Own a piece of.
Funding the future Финансирование предпринимательской деятельности в странах G20 Дмитрий Неверко.
Share in % of world GDP based on R.Vaidyanathan,iimb,20111.
GREAT CANADIAN FLAG DEBATE. STEP 1: MATCH THE FLAG TO THE COUNTRY Australia, Belgium, Brazil, Britain, China, Denmark, Egypt, Finland, Germany, Iceland,
Copyright©2005 Kisito
A Brief Company Introduction
Flag Quiz #1 10 Flags.
Providing access to GEOSS Resources The GEOSS Common Infrastructure - GCI Giovanni Rum GEO Secretariat AfriGEOSS Symposium, Victoria Falls
Six Sigma Total Error Percent Process Sigma 1,000, ,000 10% 2.78
Plans for an Enhanced NetCDF-4 Interface to HDF5 Data
The Most Visited Countries
The World Market.
MATLAB, netCDF, and OPeNDAP
Electrification Products
Locations where Black Panther was released in the theaters in 2018.
Status of EQ-5D-5L Valuation Using Standardized Valuation Methodology
Where are you from?.
ROMS Cyber Infrastructure
GDP (Nominal, in trillions) 2017 World Bank
ROMS/TOMS Web Sites & ROMS: NetCDF and Matlab
Flags of Countries.
Renewable energies in Russia
Captain America’s To Do List
1 Point! 2 Points! 3 Points! 4 Points! 5 Points!!
Powerpoint Quiz Write down the name of the country that these images relate to. There are 18 images. Good Luck!
Consensus Forecast: Internet Advertising Expenditure,
Flags of Countries.
Where are you from?.
Electrification business
Consensus Forecast: TV Advertising Expenditure,
Presentation transcript:

ROMS/TOMS Web Sites & ROMS: NetCDF and Matlab David Robertson and Hernan Arango IMCS, Rutgers University New Brunswick, NJ, USA

2004 new users: new users: new users: new users: new users: new users: new users: 172 Web Statistics

Mar. ‘10Mar. ‘09 CountryUsers 11United States555 22China253 37India89 44Spain84 56South Korea79 63Australia77 5Japan77 88France75 910Brazil71 109Italy62 Mar. ’10Mar. ’09 CountryUsers 1115United Kingdom Canada41 16Norway Germany37 13Mexico Portugal35 18Taiwan Chile27 19 Russia20 Ireland15

Overview Daily Update Forum Posts Trac Ticket Activity (New & Resolved) Revisions Forum Search Trac Website ROMS Documentation Projects  WikiROMS WikiROMS  Tutorial Movies and Animations  Kate’s Draft Manual Kate’s Draft Manual

NetCDF-4/HDF5 Capabilities: Allows for multiple unlimited dimensions Data compression Parallel file access Grouping OPeNDAP (4.1 or greater) Caveats: Compression cannot be used to write in parallel (PARALLEL_IO) Parallel I/O only in MPI (not shared memory) Separate compilation for every combination of I/0 (parallel v. serial), compiler (PGI, Intel, etc.), and MPI implementation (MPICH2, OpenMPI, etc.) Parallel I/O is slower than serial in ROMS

NetCDF and Matlab ® Considerations Interfaces: mexcdf mexnc snctools NetCDF-java Native Matlab (R2008b and newer. 2010b should have NETCDF-4) NetCDF Version: NetCDF-3 NetCDF-4/HDF5 (must be linked staticly, no shared libraries) NetCDF File Type: Classic (NetCDF-3) HDF5 (NetCDF-4) Misc: File compression (NetCDF-4/HDF5 only) OpenDAP URLs (NETCDF-java or mexnc.mex)

Matlab ® Version R2008b or newer R2008a or older mexnc.mex mexnc – Native Matlab ® NetCDF mexnc.mex capabilities NetCDF-4/HDF5 NetCDF-3 mexnc.mex exists? No Yes mexnc Flowchart

mexnc.m

Matlab ® Version R2008b or newer R2008a or older mexnc.mex mexnc & up Native Matlab ® NetCDF USE_TMW on? Yes No mexnc Flowchart

snctools – mexnc.mex NetCDF file type NetCDF-4/HDF5 NetCDF-3 Native Matlab NetCDF mexnc.mex capabilities NetCDF-4/HDF5 NetCDF-3 URL (read only) Java ToolsUI.jar Matlab ® Version R2008a or older R2008b or newer Java Available? No Yes Error, no method available to read file. snctools Flowchart (line colors indicate file type)

Matlab ® Version R2008b or newer R2008a or older mexnc.mex Native Matlab ® NetCDF Java ToolsUI.jar USE_JAVA on? Yes No NetCDF file type NetCDF-3 NetCDF-4/HDF5 URL snctools Flowchart: Reading (grey lines indicate Matlab version line colors indicate file type) snctools ?

snc_read_backend.m (r3003)

USE_JAVA on? No Yes Matlab ® Version R2008b or newer R2008a or older Native Matlab ® NetCDF Java ToolsUI.jar NetCDF file type NetCDF-3 NetCDF-4/HDF5 URL snctools Flowchart: Reading (grey lines indicate Matlab version red indicates USE_JAVA is on line colors indicate file type) snctools r3003 nc file? (not URL) Yes No mexnc.mex

Matlab Version R2008b or newer R2008a or older snctools ? mexnc.mex Native Matlab NetCDF NetCDF file type NetCDF-3 NetCDF-4/HDF5 snctools Flowchart: Writing (grey lines indicate Matlab version line color indicates file type)

snc_write_backend.m (r3003)

NetCDF file type NetCDF-3 NetCDF-4/HDF5 Matlab Version R2008b or newer R2008a or older snctools r3003 mexnc.mex Native Matlab NetCDF snctools Flowchart: Writing (grey lines indicate Matlab version line color indicates file type)

ROMS Matlab Pre- and Post-Processing Scripts NetCDF Interface: snctools users should be aware that mexnc, native Matlab NetCDF, and these scripts return arrays with the indices in the order in which the variable is written to the NetCDF file. snctools will give you the array with the indices in the opposite order. Since ROMS is a Fortran code, ROMS arrays in output files are stored in (i, j, k) order. These scripts use mexnc for the backend mexnc.m is required regardless of Matlab version For NetCDF-4/HDF5 write capability you need to compile the mexnc mex file yourself Java ToolsUI.jar cannot write files NetCDF v4.1 has build-in OPeNDAP capabilities

Dataset Functions NetCDFNative Matlabmexncsnctools nc_create(…);netcdf.create(…);mexnc(‘create’,…);nc_create_empty(…); nc_open(…);netcdf.open(…);mexnc(‘open’,…); nc_redef(…);netcdf.reDef(…);mexnc(‘redef’,…); nc_endef(…);netcdf.endDef(…);mexnc(‘endef’,…); nc_close(…);netcdf.close(…);mexnc(‘close’,…); nc_sync(…);netcdf.sync(…);mexnc(‘sync’,…); nc_abort(…);netcdf.abort(…);mexnc(‘abort’,…); NetCDF Operator Comparison Dataset Inquiry Functions NetCDFNative Matlabmexncsnctools nc_inq(…);netcdf.inq(…);mexnc(‘inq’,…);nc_info(…); nc_inq_ndims(…); mexnc(‘inq_ndims’,…); nc_inq_nvars(…); mexnc(‘inq_nvars’,…); nc_inq_natts(…); mexnc(‘inq_natts’,…); nc_inq_unlimdim(…); mexnc(‘inq_unlimdim’,…);

Attribute Functions NetCDFNative Matlabmexncsnctools nc_put_att_*(…);netcdf.putAtt(…);mexnc(‘put_att_*’,…);nc_attput(…); nc_inq_att(…);netcdf.inqAtt(…);mexnc(‘inq_att’,…);nc_info(…); nc_inq_atttype(…); mexnc(‘inq_atttype’,…); nc_inq_attlen(…); mexnc(‘inq_attlen’,…); nc_inq_attname(…);netcdf.inqAttName(…);mexnc(‘inq_attname’,…); nc_inq_attid(…);netcdf.inqAttID(…);mexnc(‘inq_attid’,…); nc_get_att_*(…);netcdf.getAtt(…);mexnc(‘get_att_*’,…);nc_attget(…); nc_copy_att(…);netcdf.copyAtt(…);mexnc(‘copy_att’,…); nc_rename_att(…);netcdf.renameAtt(…);mexnc(‘rename_att’,…); nc_del_att(…);netcdf.delAtt(…);mexnc(‘del_att’,…); Dimension Functions NetCDFNative Matlabmexncsnctools nc_def_dim(…);netcdf.defDim(…);mexnc(‘def_dim’,…);nc_add_dimension(…); nc_inq_dimid(…);netcdf.inqDimID(…);mexnc(‘inq_dimid’,…); nc_inq_dim(…);netcdf.inqDim(…);mexnc(‘inq_dim’,…);nc_getdiminfo(…); nc_inq_dimname(…); mexnc(‘inq_dimname’,…); nc_inq_dimlen(…); mexnc(‘inq_dimlen’,…); nc_rename_dim(…);netcdf.renameDim(…);mexnc(‘rename_dim’,…); NetCDF Operator Comparison (cont.)

General Variable Functions NetCDFNative Matlabmexncsnctools nc_def_var(…);netcdf.defVar(…);mexnc(‘def_var’,…);nc_addvar(…); nc_inq_varid(…);netcdf.inqVarID(…);mexnc(‘inq_varid’,…); nc_inq_var(…);netcdf.inqVar(…);mexnc(‘inq_var’,…);nc_getvarinfo(…); nc_inq_varname(…); mexnc(‘inq_varname’,…); nc_inq_vartype(…); mexnc(‘inq_vartype’,…); nc_inq_vardims(…); mexnc(‘inq_varndims’,…); nc_inq_vardimid(…); mexnc(‘inq_vardimid’,…); nc_inq_varnatts(…); mexnc(‘inq_varnatts’,…); nc_rename_var(…);netcdf.renameVar(…);mexnc(‘rename_var’,…);nc_varrename(…); nc_copy_var(…); NetCDF Operator Comparison (cont.)

Variable I/O Functions (read) NetCDFNative Matlabmexncsnctools nc_get_var_*(…);netcdf.getVar(…);mexnc(‘get_var_*’,…);nc_varget(…); nc_get_var1_*(…); mexnc(‘get_var1_*’,…); nc_get_vara_*(…); mexnc(‘get_vara_*’,…); nc_get_vars_*(…); mexnc(‘get_vars_*’,…); nc_get_varm_*(…); mexnc(‘get_varm_*’,…); Variable I/O Functions (write) NetCDFNative Matlabmexncsnctools nc_put_var_*(…);netcdf.putVar(…);mexnc(‘put_var_*’,…);nc_varput(…); nc_put_var1_*(…); mexnc(‘put_var1_*’,…); nc_put_vara_*(…); mexnc(‘put_vara_*’,…); nc_put_vars_*(…); mexnc(‘put_vars_*’,…); nc_put_varm_*(…); mexnc(‘put_varm_*’,…); NetCDF Operator Comparison (cont.)