https://github.com/gaelforget/mitgcm_to_iglobe
Interpolation of MITgcm output to grid used for iGlobe display
https://github.com/gaelforget/mitgcm_to_iglobe
Last synced: 8 months ago
JSON representation
Interpolation of MITgcm output to grid used for iGlobe display
- Host: GitHub
- URL: https://github.com/gaelforget/mitgcm_to_iglobe
- Owner: gaelforget
- License: mit
- Created: 2018-03-16T16:57:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T09:26:38.000Z (over 7 years ago)
- Last Synced: 2025-03-28T23:45:22.742Z (8 months ago)
- Language: Matlab
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mitgcm\_to\_iglobe
Interpolation of MITgcm output to grid used for iGlobe display
## Pre-Requisites
- Install the [gcmfaces toolbox](http://gcmfaces.readthedocs.io/) and [this repository](https://github.com/gaelforget/mitgcm_to_iglobe)
- Obtain the MITgcm grid and output. In the [ECCOv4](http://eccov4.readthedocs.io/) test case below, the pre-computed interpolation matrix is also downloaded.
```
git clone https://github.com/gaelforget/gcmfaces
git clone https://github.com/gaelforget/mitgcm_to_iglobe
setenv ECCOv4FTP 'ftp://mit.ecco-group.org/ecco_for_las/version_4/release2/'
wget --recursive {$ECCOv4FTP}/nctiles_grid
wget --recursive {$ECCOv4FTP}/nctiles_climatology
wget ftp://mit.ecco-group.org/gforget/mitgcm_to_iglobe/llc90/MGtoIG.mat
```
## ECCOv4 Test Case
Start Matlab, go to the downloaded content directory, and type:
```
p = genpath('gcmfaces/'); addpath(p);
addpath('mitgcm_to_iglobe/');
mitgcm_to_iglobe_demo;
```
## Using Octave?
Use this version of the [gcmfaces toolbox](http://gcmfaces.readthedocs.io/) instead:
```
git clone -b octave https://github.com/gaelforget/gcmfaces
```
Install and activate the [Octave nectdf implementation](https://github.com/Alexander-Barth/octave-netcdf/wiki):
```
pkg install -forge netcdf
pkg load netcdf
```
## Other Test Case?
Download the following instead:
```
setenv llc270_hzhang 'ftp://mit.ecco-group.org/gforget/llc270_hzhang/'
wget --recursive {$llc270_hzhang}/nctiles_grid
wget --recursive {$llc270_hzhang}/nctiles_climatology
wget ftp://mit.ecco-group.org/gforget/mitgcm_to_iglobe/llc270/MGtoIG.mat
```