Ero sivun ”Malline:ObsSNOW” versioiden välillä
Järvi-meriwikistä
Rivi 78: | Rivi 78: | ||
|{{#if: {{{DEPTHval|}}} | |{{#if: {{{DEPTHval|}}} | ||
|, "val": {{#replace:{{{DEPTHval|}}}|,|.}}, "unit": "{{{DEPTHunit|cm}}}" | |, "val": {{#replace:{{{DEPTHval|}}}|,|.}}, "unit": "{{{DEPTHunit|cm}}}" | ||
− | |, "val": -999, "unit": "" | + | |{{#ifeq: {{{SNOWcat|}}}|0 |
+ | |, "val": 0, "unit": "{{{DEPTHunit|cm}}}" | ||
+ | |, "val": -999, "unit": "" | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
Rivi 90: | Rivi 93: | ||
10000 | 10000 | ||
}}, "loadunit": "{{{WEIGHTunit|kg}}}/m²" | }}, "loadunit": "{{{WEIGHTunit|kg}}}/m²" | ||
+ | |{{#ifeq: {{{SNOWcat|}}}|0 | ||
+ | |, "load": 0, "loadunit": "{{{DEPTHunit|cm}}}" | ||
+ | |, "load": -999, "loadunit": "" | ||
+ | }} | ||
+ | }} | ||
+ | |{{#ifeq: {{{SNOWcat|}}}|0 | ||
+ | |, "load": 0, "loadunit": "{{{DEPTHunit|cm}}}" | ||
|, "load": -999, "loadunit": "" | |, "load": -999, "loadunit": "" | ||
}} | }} | ||
− | |||
}} | }} | ||
}} | }} |