| 1 | |
| 2 | created 24/03/2014 objectif= remove missing values from upstream catchments clc |
| 3 | |
| 4 | {{{ |
| 5 | #!sql |
| 6 | update ccm21.riversegments set (up_catchment_area, |
| 7 | up_art_11_13, |
| 8 | up_art_14 , |
| 9 | up_arable_21 , |
| 10 | up_permcrop_22 , |
| 11 | up_pasture_23 , |
| 12 | up_hetagr_24 , |
| 13 | up_forest_31 , |
| 14 | up_natural_32_33 , |
| 15 | up_wetlands_4 , |
| 16 | up_inwat_51 , |
| 17 | up_marwat_52 )=(0,0,0,0,0,0,0,0,0,0,0,0) where |
| 18 | wso_id in (select wso_id from europe.wso where area= 'Ireland') |
| 19 | and strahler=1 |
| 20 | and up_catchment_area is NULL;--4587 |
| 21 | -- to check |
| 22 | select * from ccm21.riversegments where wso_id in (select wso_id from europe.wso where area= 'Ireland') |
| 23 | and "up_catchment_area" is null |
| 24 | }}} |