Skip to content

initial_location

Ludovic Lepers edited this page Jan 16, 2025 · 1 revision

Initial particle location

When a simulation read a cloud (not generated inside of OSERIT), a file XXX_initial_location.json (with XXX being the runtitle of the simulation) must be provided. This file is a standard geojson file. It can be view in online geojson viewer.

Example of file

{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "properties": {
                "time": "2024/03/10;09:00:00"
            },
            "geometry": {
                "type": "MultiPoint",
                "coordinates": [
                    [
                        2.168947022623192,
                        51.10420302937211,
                        0.0
                    ]
                ]
            }
        },
        {
            "type": "Feature",
            "properties": {
                "time": "2024/03/10;09:06:00",
                "state":1
            },
            "geometry": {
                "type": "MultiPoint",
                "coordinates": [
                    [
                        2.171300693610597,
                        51.14286863490933,
                        0.0
                    ],
                    [
                        2.17525384499711,
                        51.161852024161355,
                        0.0
                    ]
                ]
            }
        }
    ]
}

Each element of a coordinate array is a particle, with its location given (longitude, latitude, depth (in meter, must be negative for underwater)).

The time is the release time of the set of particle, there must be at least one set of particle and all the particle set can have different number of particles in them.The state is the state that will be given to all particles of the feature. If no state is provided, the particles at the surface will receive the state 0 and the one that are in the water column will receive the state 1.

There must be exactly the same number of particle in this file as the number given in nopart in the XXX_request.json file.

Clone this wiki locally