view macros_mapplot.xml @ 3:c91c27b63fb2 draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/data_manipulation/xarray/ commit fd8ad4d97db7b1fd3876ff63e14280474e06fdf7
author ecology
date Sun, 31 Jul 2022 21:20:00 +0000
parents e87073edecd6
children
line wrap: on
line source

<macros>
    <xml name="config_map">
        <configfiles>
            <configfile name="map_customization"><![CDATA[
{
#if $condi_datetime.datetime=="yes"
"time":"$condi_datetime.time_values",
#end if
"latitude":'$lat_dim',
"longitude":'$lon_dim',
#if $colorbar_label
"label":'$colorbar_label',
#end if
#if $title
"title":"$title",
#end if
#if $cmap
"cmap":'$cmap',
#end if
#if $land
"land":'$land',
#end if
#if $ocean
"ocean":'$ocean',
#end if
#if $coastline
"coastline":'$coastline',
#end if
#if $borders
"borders":'$borders',
#end if
#if $threshold
"threshold":'$threshold',
#end if
#if $range
"range":'$range',
#end if
#if $xlim
"xlim":'$xlim',
#end if
#if $ylim
"ylim":'$ylim',
#end if
}
            ]]>
            </configfile>
            <configfile name="map_projection"><![CDATA[
#if $proj
'$proj'
#end if 
            ]]>
            </configfile>
        </configfiles>
    </xml>
    <xml name="customize_appearance_plots">
        <param name="borders" type="float" optional="true" label="Add country borders with alpha value [0-1] (optional)" />
        <param name="coastline" type="float" optional="true" label="Add coastline with alpha value [0-1] (optional)" />
        <param name="ocean" type="float" optional="true" label="Add ocean with alpha value [0-1] (optional)" />
        <param name="land" type="float" optional="true" label="Add land with alpha value [0-1] (optional)" />
        <param name="title" type="text" optional="true" label="Specify plot title (optional)" />
        <param name="colorbar_label" type="text" optional="true" label="Set a label for colormap (optional)" />
        <param name="cmap" type="select" optional="true" label="Specify which colormap to use for plotting (optional)">
            <option value="cm.batlow">batlow</option>
            <option value="cm.batlowW">batlowW</option>
            <option value="cm.batlowK">batlowK</option>
            <option value="cm.devon">devon</option>
            <option value="cm.davos">davos</option>
            <option value="cm.oslo">oslo</option>
            <option value="cm.lapaz">lapaz</option>
            <option value="cm.acton">acton</option>
            <option value="cm.lajolla">lajolla</option>
            <option value="cm.bilbao">bilbao</option>
            <option value="cm.grayC">grayC</option>
            <option value="cm.tokyo">tokyo</option>
            <option value="cm.turku">turku</option>
            <option value="cm.bamako">bamako</option>
            <option value="cm.nuuk">nuuk</option>
            <option value="cm.hawaii">hawaii</option>
            <option value="cm.buda">buda</option>
            <option value="cm.imola">imola</option>
            <option value="cm.broc">broc</option>
            <option value="cm.lisbon">lisbon</option>
            <option value="cm.roma">roma</option>
            <option value="cm.cork">cork</option>
            <option value="cm.tofino">tofino</option>
            <option value="cm.bam">bam</option>
            <option value="cm.vik">vik</option>
            <option value="cm.berlin">berlin</option>
            <option value="cm.vanimo">vanimo</option>
            <option value="cm.oleron">oleron</option>
            <option value="cm.bukavu">bukavu</option>
            <option value="cm.fes">fes</option>
            <option value="cm.romaO">romaO</option>
            <option value="cm.bamO">bamO</option>
            <option value="cm.brocO">brocO</option>
            <option value="cm.corkO">corkO</option>
            <option value="cm.vikO">vikO</option>
            <option value="cm.batlow_r">batlow_r</option>
            <option value="cm.batlowW_r">batlowW_r</option>
            <option value="cm.batlowK_r">batlowK_r</option>
            <option value="cm.devon_r">devon_r</option>
            <option value="cm.davos_r">davos_r</option>
            <option value="cm.oslo_r">oslo_r</option>
            <option value="cm.lapaz_r">lapaz_r</option>
            <option value="cm.acton_r">acton_r</option>
            <option value="cm.lajolla_r">lajolla_r</option>
            <option value="cm.bilbao_r">bilbao_r</option>
            <option value="cm.grayC_r">grayC_r</option>
            <option value="cm.tokyo_r">tokyo_r</option>
            <option value="cm.turku_r">turku_r</option>
            <option value="cm.bamako_r">bamako_r</option>
            <option value="cm.nuuk_r">nuuk_r</option>
            <option value="cm.hawaii_r">hawaii_r</option>
            <option value="cm.buda_r">buda_r</option>
            <option value="cm.imola_r">imola_r</option>
            <option value="cm.broc_r">broc_r</option>
            <option value="cm.lisbon_r">lisbon_r</option>
            <option value="cm.roma_r">roma_r</option>
            <option value="cm.cork_r">cork_r</option>
            <option value="cm.tofino_r">tofino_r</option>
            <option value="cm.bam_r">bam_r</option>
            <option value="cm.vik_r">vik_r</option>
            <option value="cm.berlin_r">berlin_r</option>
            <option value="cm.vanimo_r">vanimo_r</option>
            <option value="cm.oleron_r">oleron_r</option>
            <option value="cm.bukavu_r">bukavu_r</option>
            <option value="cm.fes_r">fes_r</option>
            <option value="cm.romaO_r">romaO_r</option>
            <option value="cm.bamO_r">bamO_r</option>
            <option value="cm.brocO_r">brocO_r</option>
            <option value="cm.corkO_r">corkO_r</option>
            <option value="cm.vikO_r">vikO_r</option>
            <option value="Accent">Accent</option>
            <option value="Blues">Blues</option>
            <option value="BrBG">BrBG</option>
            <option value="BuGn">BuGn</option>
            <option value="BuPu">BuPu</option>
            <option value="CMRmap">CMRmap</option>
            <option value="Dark2">Dark2</option>
            <option value="GnBu">GnBu</option>
            <option value="Greens">Greens</option>
            <option value="Greys">Greys</option>
            <option value="OrRd">OrRd</option>
            <option value="Oranges">Oranges</option>
            <option value="PRGn">PRGn</option>
            <option value="Paired">Paired</option>
            <option value="Pastel1">Pastel1</option>
            <option value="Pastel2">Pastel2</option>
            <option value="PiYG">PiYG</option>
            <option value="PuBu">PuBu</option>
            <option value="PuBuGn">PuBuGn</option>
            <option value="PuOr">PuOr</option>
            <option value="PuRd">PuRd</option>
            <option value="Purples">Purples</option>
            <option value="RdBu">RdBu</option>
            <option value="RdGy">RdGy</option>
            <option value="RdPu">RdPu</option>
            <option value="RdBu_r">RdBu_r</option>
            <option value="RdGy_r">RdGy_r</option>
            <option value="RdPu_r">RdPu_r</option>
            <option value="RdYlBu">RdYlBu</option>
            <option value="RdYlGn">RdYlGn</option>
            <option value="Reds">Reds</option>
            <option value="Set1">Set1</option>
            <option value="Set2">Set2</option>
            <option value="Set3">Set3</option>
            <option value="Spectral">Spectral</option>
            <option value="Wistia">Wistia</option>
            <option value="YlGn">YlGn</option>
            <option value="YlGnBu">YlGnBu</option>
            <option value="YlOrBr">YlOrBr</option>
            <option value="YlOrRd">YlOrRd</option>
            <option value="afmhot">afmhot</option>
            <option value="autumn">autumn</option>
            <option value="binary">binary</option>
            <option value="bone">bone</option>
            <option value="brg">brg</option>
            <option value="bwr">bwr</option>
            <option value="cool">cool</option>
            <option value="coolwarm" selected="true">coolwarm</option>
            <option value="copper">copper</option>
            <option value="cubehelix">cubehelix</option>
            <option value="flag">flag</option>
            <option value="gist_earth">gist_earth</option>
            <option value="gist_gray">gist_gray</option>
            <option value="gist_heat">gist_heat</option>
            <option value="gist_ncar">gist_ncar</option>
            <option value="gist_rainbow">gist_rainbow</option>
            <option value="gist_stern">gist_stern</option>
            <option value="gist_yarg">gist_yarg</option>
            <option value="gnuplot">gnuplot</option>
            <option value="gnuplot2">gnuplot2</option>
            <option value="gray">gray</option>
            <option value="hot">hot</option>
            <option value="hsv">hsv</option>
            <option value="jet">jet</option>
            <option value="nipy_spectral">nipy_spectral</option>
            <option value="ocean">ocean</option>
            <option value="pink">pink</option>
            <option value="prism">prism</option>
            <option value="rainbow">rainbow</option>
            <option value="seismic">seismic</option>
            <option value="spring">spring</option>
            <option value="summer">summer</option>
            <option value="tab10">tab10</option>
            <option value="tab20">tab20</option>
            <option value="tab20b">tab20b</option>
            <option value="tab20c">tab20c</option>
            <option value="terrain">terrain</option>
            <option value="winter">winter</option>
        </param>
    </xml>
</macros>