S1 veriables not extracted

We have encountered the problem that the L4A processor does not extract S1 variables a few times. In all instances we have updated the system to version 1.2 and also updated the crop-type-wrapper.py file, as mentioned here: !IMPORTANT! Correction to the L4A crop type processor

There seems to be an error with Psycopg2, see log below:

        select shape_tiles_s2.tile_id,
               shape_tiles_s2.epsg_code,
               ST_AsBinary(shape_tiles_s2.geog) as geog
        from shape_tiles_s2
        where shape_tiles_s2.tile_id in (
            select tile_id
            from sp_get_site_tiles(1 :: smallint, 1 :: smallint)
        );
        

        select *
        from (
            select
                greatest(substr(split_part(product.name, '_', 4), 2), split_part(product.name, '_', 5)) :: date as date,
                site_tiles.tile_id,
                product.orbit_type_id,
                split_part(product.name, '_', 6) as polarization,
                product.product_type_id,
                product.name,
                product.full_path
            from sp_get_site_tiles(1 :: smallint, 1 :: smallint) as site_tiles
            inner join shape_tiles_s2 on shape_tiles_s2.tile_id = site_tiles.tile_id
            inner join product on ST_Intersects(product.geog, shape_tiles_s2.geog)
            where product.satellite_id = 3
                and product.site_id = 1
        ) products
        where date between '2020-05-01'::date and '2020-05-20'::date
        order by date;

Traceback (most recent call last):
File “/usr/bin/crop-type-parcels.py”, line 1406, in
main()
File “/usr/bin/crop-type-parcels.py”, line 1402, in main
process_radar(config, conn, pool)
File “/usr/bin/crop-type-parcels.py”, line 1085, in process_radar
products = get_radar_products(config, conn, config.site_id)
File “/usr/bin/crop-type-parcels.py”, line 744, in get_radar_products
cursor.execute(query)
psycopg2.InternalError: CircTreePIP: Unable to generate outside point!

Hello Sybrand,

Sorry, I cannot help you. Maybe @lnicola or @cudroiu do you know what could be the problem?

Thank you,

Philippe