ardigier a écrit :Expérience perso, le systéme à 2 sondes fonctionne trés bien avec GW 3
cela revient à avoir un pyranométre en 2 partie
Salut René,
Je ne doute pas que ça fonctionne, mais la question de Pétrocorien, concerne la durée d'ensoleillement et là, je ne suis pas sûr que ça fonctionne avec la méthode des deux sondes, peut-être que tu peux vérifier avec la balise "$Stats[Day,NbHoursOfSunshine] h."
Pour les graphiques, je ne me souvient pas d'avoir mis à disposition une feuille de style pour le solaire, mais voici celle que j'utilise.
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="horizontal" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FF6699CC" color2="FFFFFFFF" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="900" height="350" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="70" margin-bottom="40" margin-left="45">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="80CC0000" grid="1" autoscale="1" min="0" max="1200" titleside="left" titlemargin="35">
<title text="Radiation solaire ( w/m² )" alignement="hcenter|vcenter" angle="0">
<font color="80CC0000" facename="Arial" size="15" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="80CC0000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="9" minorticks="2" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<y2axis side="right" color="FFCC0099" grid="0" autoscale="0" min="0" max="12" titleside="right" titlemargin="35">
<title text="Index UV ( )" alignement="vcenter|hcenter" angle="0">
<font color="FFCC0099" facename="Arial" size="15" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="right" hide="0">
<font color="FFCC0099" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="5" minorticks="2" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y2axis>
<data>
<solar_radiation axisbind="y1axis" legend="Radiations solaires" color1="44FFFF00" color2="80CC0000" antialiasing="1" filled="1" hide="0" thick="1.2"/>
<uv_index axisbind="y2axis" legend="uv index" color1="FFCC0099" color2="44FF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="6" width="785" position-x="55" position-y="15" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="16" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color="00000000" texture="" stretch="1" />
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="760" height="180" shadow="0" position-x="100" position-y="370" margin="15" >
<border cornerradius="10" color="55555555" thick="1" />
<text alignement="left|top">
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n"/>
<line text="Du $StartDate[%A %d %B %Y à %Hh%M]"/>
<line text="Au $StopDate[%A %d %B %Y à %Hh%M]"/>
<line text=""/>
<line text="Radiation solaire max.:\t\t $Max[solar_radiation,4.1] w/m² h \t\tle $MaxDate[solar_radiation,%d %b %Y à %Hh%M]" />
<line text="Indice UV max. :\t\t $Max[uv_index,3.1]\t\t\tle $MaxDate[uv_index,%d %b %Y à %Hh%M]" />
<font color="FF000000" facename="Arial" size="16" weight="400" italic="1" />
</text>
<background color="00000000" texture="" stretch="1" />
</textbox>
<textbox width="62" height="180" shadow="0" position-x="20" position-y="370" margin="0" >
<border cornerradius="10" color="55555555" thick="1" />
<background color1="FF6699CC" color2="FFFFFFFF" gradient="1" gradient-direction="180" />
</textbox>
<textbox width="180" height="20" shadow="0" position-x="-40" position-y="450" margin="0" >
<text alignement="center" angle="90">
<line text="Statistiques" alignement="center" />
<font color="FF0066CC" facename="Comic sans ms" size="28" weight="600" italic="0" />
</text>
</textbox>
</stylesheet>
Bonne journée