Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • mapgenerator mapgenerator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • mapgeneratormapgenerator
  • Wiki
  • example1

example1 · Changes

Page history
Update example1 authored Jan 30, 2019 by Francesco's avatar Francesco
Hide whitespace changes
Inline Side-by-side
example1.md
View page @ 55a6fc3a
......@@ -15,4 +15,27 @@ lat = "m90-90,30" # latitudes from -90 to 90 ev
lon = "m180-180,30" # longitudes from -180 to 180 every 30
```
1. bash command line with configuration file:
```
mg --config="/esarchive/scratch/Earth/fbeninca/mg/test.conf" --section='test'
```
2. bash command line without configuration file:
```
mg --srcfiles="tos_a1da-oras4_final.nc" --srcvars="tos" \
--indir="/esarchive/scratch/Earth/fbeninca/mg/" --outdir="/esarchive/scratch/Earth/fbeninca/mg/" \
--ysize=0.7 --colors="bwr" --bounds="m1.5-1.7,0.2" --smooth="True" --extend="both" \
--countropts="0,w" --lat="m90-90,30" --lon="m180-180,30"
```
3. Python with configuration file:
```
pm.plot(config="/esarchive/scratch/Earth/fbeninca/mg/test.conf", section='test')
```
4. Python without configuration file:
```
pm.plot(srcfiles="tos_a1da-oras4_final.nc", srcvars="tos", indir="/esarchive/scratch/Earth/fbeninca/mg/", \
outdir="/esarchive/scratch/Earth/fbeninca/mg/", ysize=0.7, colors="bwr", bounds="m1.5-1.7,0.2", \
smooth="True", extend="both", countropts="0,w", lat="m90-90,30", lon="m180-180,30")
```
Output:
![tos_a1da-oras4_final_00](/uploads/a7881b2f5fefc40d472f412536f55a7e/tos_a1da-oras4_final_00.png)
Clone repository
  • Reports
  • configure
  • example1
  • example2
  • example3
  • examples
  • Home
  • how to use
  • options