Commit bb23e33f authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

refactor doc

parent 34920a71
# exercisemodel
## Description
A python model that mimics padm model by moving particles along an input linestring
## Installation
You will need python 2.7 and python-shapely rpm packages
## Demo
![Sample Video](example.webm)
## Usage example
### Options
## Copyright and License
## Contact information
Tomas Pettersson tomas.pettersson@smhi.se
## Credits and acknowledgements
## Known bugs
## Troubleshooting
## Changelog
{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"properties":{"status":"PARTIAL","uuid":"376899fb-0dcd-4334-b625-1460db468cc9","simulation":{"startDate":1510567200000,"stopDate":1510578000000,"mode":"Normal","forecast":"NEMO","forwardCalculation":true,"amount":"100","amountUnit":"m3","oilclass":"Oil classes","substance":"Medium oils (100-1000 cSt)","fresh":true,"instantaneous":true,"uncertainty":false,"winddrag":"0.00","depth":"0","duration":"24","durationUnit":"hours"}},"features":[]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
2017-11-13 10:00 26.9471 60.3559 0.0000
2017-11-13 10:15 26.9485 60.3557 0.0000
2017-11-13 10:30 26.9498 60.3556 0.0008
2017-11-13 10:45 26.9512 60.3555 0.0000
2017-11-13 11:00 26.9526 60.3553 0.0000
2017-11-13 11:15 26.9539 60.3552 0.0000
2017-11-13 11:30 26.9553 60.3551 0.0037
2017-11-13 11:45 26.9567 60.3549 0.0000
2017-11-13 12:00 26.9581 60.3548 0.0021
2017-11-13 12:15 26.9595 60.3546 0.0063
2017-11-13 12:30 26.9610 60.3543 0.0077
2017-11-13 12:45 26.9625 60.3541 0.0065
2017-11-13 13:00 26.9639 60.3539 0.0018
1
1.0
60.35612797806093 26.961650443838113
60.34804872455907 26.934164170849897
60.35773173384632 26.93584015405431
60.36245765251777 26.95838516721654
>
driftmodel=driftmodel.x
logfile=driftmodel.stdout_stderr
resulttimestep=900
domain=HELCOM
forcingtimestep=3600
CONTINUED_CASE
F
CHANGE_CENTER_POSITION
F
CHANGE_CENTER_POSITION_LAT
CHANGE_CENTER_POSITION_LON
FORECASTMETHOD
NEMO
OUTLETTYPE
AREA
FORWARDCALCULATION
T
STARTTIME
2017
11
13
10
00
ENDTIME
2017
11
13
13
00
CALCTYPE
Oil classes
SUBSTANCE
Medium oils (100-1000 cSt)
FRESH
T
EXTRA WIND DRAG (%)
0.00
NROFOUTLETPOINTS
4
OUTLETFILE
coordinates.dat
DEPTH
0
INSTANTANEOUS
T
AMOUNT
100
AMOUNTUNIT
m3
DURATION
24
DURATIONUNIT
hours
PRESCRIBEDCURRENT
F
UNCERTAINTY
F
CALCULATIONMODE
Normal
ISOPOINTOUTPUT
F
ISOPOINTS_DURING_SIMULATION
F
ISOLEVELFILE
isolevels.dat
NUMBER_OF_NEAREST_NEIGHBOURS
25
GENERATE DENSITY NETCDF-FILE
F
NETCDF FILE NAME
density.nc
OIL SPILL ID
NOT_USED
NETCDF DENSITY UNIT
ton/km2
NUMBER OF GRIDPOINTS ALONG THE LONGITUDE DIMENSION [max 500]
120
NUMBER OF GRIDPOINTS ALONG THE LATITUDE DIMENSION [max 300]
100
NUMBER OF GRIDPOINTS ALONG THE DEPTH DIMENSION [max 35]
4
This diff is collapsed.
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {
"uuid": "376899fb-0dcd-4334-b625-1460db468cc9",
"domain": "HELCOM",
"model": "NEMO",
"type": "oil",
"subtype": "instant",
"meanLng": 26.947907307344003,
"meanLat": 60.35525318853842,
"simulation": {
"startDate": 1510567200000,
"stopDate": 1510578000000,
"mode": "Normal",
"forecast": "NEMO",
"forwardCalculation": true,
"amount": "100",
"amountUnit": "m3",
"oilclass": "Oil classes",
"substance": "Medium oils (100-1000 cSt)",
"fresh": true,
"instantaneous": true,
"uncertainty": false,
"winddrag": "0.00",
"depth": "0",
"duration": "24",
"durationUnit": "hours"
},
"observation": []
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[26.961650443838113, 60.35612797806093],
[26.934164170849897, 60.34804872455907],
[26.93584015405431, 60.35773173384632],
[26.95838516721654, 60.36245765251777],
[26.961650443838113, 60.35612797806093]
]
]
}
}]
}
\ No newline at end of file
Date (YYYY-MM-DD);Time (HH:MM);Center pos. X (-);Center pos. Y (-);Current speed (knots);Current direction (degrees towards);Wind speed (m/s);Wind direction (degrees from);Volume (m**3);Viscosity (cSt);Density (kg/m**3);Evaporated oil (%);Oil at surface (%);Oil at surface (m**3);Dispersed oil (%);Dispersed oil (m**3);Oil at sea bed (%);Oil at sea bed (m**3);Oil at shore (%);Oil at shore (m**3);Water content (%)
2017-11-13;10:00; 26.9471; 60.3559; 0.08;248; 7.2;270; 100.0; 140.0; 900.4; 0.0;100.0; 100.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;10:15; 26.9485; 60.3557; 0.08;248; 7.2;270; 90.2; 305.8; 907.5; 9.1; 90.9; 90.2; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;10:30; 26.9498; 60.3556; 0.08;248; 7.2;270; 87.9; 368.4; 909.4; 11.3; 88.4; 87.5; 0.3; 0.3; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;10:45; 26.9512; 60.3555; 0.08;248; 7.2;270; 86.5; 411.7; 910.6; 12.5; 87.5; 86.5; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;11:00; 26.9526; 60.3553; 0.08;247; 7.2;270; 85.5; 445.8; 911.5; 13.5; 86.5; 85.5; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;11:15; 26.9539; 60.3552; 0.08;247; 7.2;270; 84.7; 474.3; 912.2; 14.2; 85.8; 84.7; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;11:30; 26.9553; 60.3551; 0.08;247; 7.2;270; 84.1; 499.0; 912.8; 14.8; 85.1; 83.9; 0.2; 0.2; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;11:45; 26.9567; 60.3549; 0.08;247; 7.2;270; 83.5; 520.9; 913.3; 15.3; 84.7; 83.5; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;12:00; 26.9581; 60.3548; 0.08;244; 7.2;270; 83.1; 540.6; 913.7; 15.7; 84.1; 82.9; 0.2; 0.2; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;12:15; 26.9595; 60.3546; 0.08;244; 7.6;274; 82.6; 558.7; 914.1; 16.1; 83.8; 82.5; 0.2; 0.2; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;12:30; 26.9610; 60.3543; 0.08;244; 7.6;274; 82.3; 575.3; 914.5; 16.4; 83.3; 82.0; 0.3; 0.3; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;12:45; 26.9625; 60.3541; 0.08;244; 7.6;274; 81.9; 590.9; 914.8; 16.7; 82.9; 81.6; 0.3; 0.3; 0.0; 0.0; 0.0; 0.0; 0.0;
2017-11-13;13:00; 26.9639; 60.3539; 0.07;242; 7.6;274; 81.6; 605.4; 915.1; 17.0; 82.7; 81.3; 0.3; 0.3; 0.0; 0.0; 0.0; 0.0; 0.0;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><simulation><forecastMethod>NEMO</forecastMethod><outletType>AREA</outletType><forwardCalculation>true</forwardCalculation><start>2017-11-13 10:00:00</start><end>2017-11-13 13:00:00</end><calculationType>Oil classes</calculationType><substance>Medium oils (100-1000 cSt)</substance><fresh>true</fresh><winddrag>0.00</winddrag><prescribedCurrent>false</prescribedCurrent><outletPoints>4</outletPoints><depth>0</depth><instantaneous>true</instantaneous><amount>100</amount><amountUnit>m3</amountUnit><duration>24</duration><durationUnit>hours</durationUnit><uncertainty>false</uncertainty><calculationMode>Normal</calculationMode><isoPointOutput>false</isoPointOutput><isoPointsDuringSimulation>false</isoPointsDuringSimulation><isoLevelFile>isolevels.dat</isoLevelFile><isoNumberOfNearestNeighbours>25</isoNumberOfNearestNeighbours><outputNetCDF>false</outputNetCDF><netCDFFile>density.nc</netCDFFile><oilSpillId>NOT_USED</oilSpillId><netCDFDensityUnit>ton/km2</netCDFDensityUnit><gridpointsLon>120</gridpointsLon><gridpointsLat>100</gridpointsLat><gridpointsDepth>4</gridpointsDepth><modelDescription>Unknown model</modelDescription><modelTimestep>10800000</modelTimestep></simulation>
\ No newline at end of file
#Mon Nov 13 10:15:23 UTC 2017
status=COMPLETE
padmPath=/data/prodtest/seatrack/padm/model/HELCOM_NEMO
user=stw
stop=2017-11-13 13\:00\:00
start=2017-11-13 10\:00\:00
nrOfCoordinates=4
datetime=2017-11-13 10\:15\:04
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment