Skip to content

Commit

Permalink
Merge pull request #8 from mo-marqh/xios3Patch
Browse files Browse the repository at this point in the history
update patch for r2628 -  reimplement READMEs
  • Loading branch information
mo-marqh authored Apr 8, 2024
2 parents 30b8e96 + 9df1e6c commit 4ffb75a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/xios3/revert_svn2517_transport.patch
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ Index: src/manager/ressources_manager.cpp

@@ -135,7 +139,7 @@
winNotify_->popFromLockedWindow(commRank, this, &CRessourcesManager::notificationsDumpIn) ;
CTimer::get("CRessourcesManager::checkNotifications pop").suspend();
CTimer::get("CRessourcesManager::checkNotifications unlock").resume();
if (info.isActive(logTimers)) CTimer::get("CRessourcesManager::checkNotifications pop").suspend();
if (info.isActive(logTimers)) CTimer::get("CRessourcesManager::checkNotifications unlock").resume();
- winNotify_->unlockWindowExclusive(commRank) ;
+ winNotify_->unlockWindow(commRank) ;
CTimer::get("CRessourcesManager::checkNotifications unlock").suspend();
if (info.isActive(logTimers)) CTimer::get("CRessourcesManager::checkNotifications unlock").suspend();
if (notifyType_==NOTIFY_CREATE_POOL) createPool() ;
else if (notifyType_==NOTIFY_FINALIZE) finalizeSignal() ;
@@ -192,46 +196,48 @@
Expand Down
4 changes: 4 additions & 0 deletions xios_examples/read_axis_resample/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
read_axis_resample
------------------

This example reads in a sample NetCDF file of arbitrary data of 10 values on the z axis and interpolates to 4 new z axis values using polynomial order 2. Known good values for interpolated data are included in the input file for comparison. The original and resampled data are written to one output NetCDF file. The unit tests include one known failure test case where the expected result is not produced.
5 changes: 5 additions & 0 deletions xios_examples/read_domain_resample/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
read_domain_resample
--------------------

These examples read in arbitrary data from a netCDF file and resample to a different horizontal domain as defined within the input netCDF file using bilinear interpolation.
The original and resampled data as well as a diff between them are written to one output NetCDF file. The unit tests include two known failure test cases where the expected result is not produced.
4 changes: 4 additions & 0 deletions xios_examples/vertical_stratify_pressure/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vertical_stratify_pressure
--------------------------

This example demonstrates XIOS vertical interpolation for the specific case of interpolating data held on model levels to pressure levels. It takes a canned dataset of temperature and pressure on 39 model levels at one lat-lon point and interpolates temperature to 5 pressure levels using polynomial order 1. The original model level pressure and temperature data as well as the interpolated temperature data are written out to one netCDF file.
4 changes: 4 additions & 0 deletions xios_examples/vertical_stratify_scenarios/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vertical_stratify_scenarios
---------------------------

This example reads in a sample NetCDF file consisting of a horizontal domain with one lat-lon point with temperature and pressure on 39 model levels. It interpolates temperature to 5 pressure levels using polynomial order 1. The original model level pressure and temperature data as well as the interpolated temperature data are written out to one netCDF file.

0 comments on commit 4ffb75a

Please sign in to comment.