{"help":"Return the metadata of a dataset (package) and its resources. :param id: the id or name of the dataset :type id: string","success":true,"result":[{"id":"4e5445c6-9051-4d45-abb1-4d16ca682cc7","name":"simplified-displacement-model-foraging-birds","title":"Simplified Displacement model: Foraging Birds","author":"Jared Wilson","author_email":"marinescotland@gov.scot","maintainer":"Scottish Government - Marine Directorate Data Publications","maintainer_email":"marinedirectorate@gov.scot","notes":"\u003Cp\u003EThis model, written in R, simulates the effects of offshore wind farms upon seabird foraging behaviour, and the ultimate consequences of this for adult and chick survival. The model has been designed for use with four specific proposed offshore wind farms in the Forth-Tay region, and for use with five specific species (guillemot, kittiwake, puffin, gannet and razorbill). Much of the code can be readily-applied to different species, wind farms and SPAs, but some will not fit. It was not designed to provide general code for modelling the effects of any wind farm in any geographical area.\u003C\/p\u003E\n","url":"https:\/\/data.marine.gov.scot\/dataset\/simplified-displacement-model-foraging-birds","state":"Active","log_message":"Update to resource \u0027Property title\u0027","private":true,"revision_timestamp":"Tue, 01\/07\/2020 - 17:22","metadata_created":"Fri, 01\/15\/2016 - 13:25","metadata_modified":"Tue, 01\/07\/2020 - 17:22","creator_user_id":"30436a8d-34e8-47d5-b586-8a555ab42696","type":"Dataset","resources":[{"id":"e66a3a4a-f8d5-487a-ad06-20915d9d0448","revision_id":"","url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/parameters%20file.csv","description":"\u003Cp\u003EThe following contains the R code used to run the analysis for kittiwake.Gannets\u003C\/p\u003E\n\u003Cp\u003Esetwd(\u0022~\/Work\/Project\/CEH\/Displacement\/SimplifiedModel\/CurrentModel\/\u0022)\u003C\/p\u003E\n\u003Cp\u003Esource(\u0022Simplified-Displacement-Model-Version17.R\u0022)\u003C\/p\u003E\n\u003Cp\u003Epars.full \u0026lt;- (read.csv(\u0022Parameters\/parameters-gps.csv\u0022))[,3:9]\u003C\/p\u003E\n\u003Cp\u003Emeta \u0026lt;- list(wf = read.csv(\u0022Meta\/wfinfo.csv\u0022), colony = read.csv(\u0022Meta\/colonies.csv\u0022), colonysize = read.csv(\u0022Meta\/colonysize.csv\u0022), wfstats = read.csv(\u0022Meta\/wfstats.csv\u0022))\u003C\/p\u003E\n\u003Cp\u003Elevels(meta$colony$colony) \u0026lt;- c(\u0022ForthIslands\u0022, \u0022Boddam\u0022, \u0022FAR\u0022, \u0022Fowlsheugh\u0022, \u0022ForthIslands\u0022, \u0022StAbbsHead\u0022, \u0022TPL\u0022)\u003C\/p\u003E\n\u003Cp\u003Elevels(meta$wfstats$SPA)[3] \u0026lt;- \u0022ForthIslands\u0022\u003C\/p\u003E\n\u003Ch2\u003ESpecies-specific part :\u003C\/h2\u003E\n\u003Cp\u003Edat \u0026lt;- read.csv(\u0022\/tmpshare\/adam\/projects\/seabirds\/Displacement\/out-sixth\/kittiwake.csv\u0022)\u003C\/p\u003E\n\u003Cp\u003Elevels(dat$Site)[3] \u0026lt;- \u0022ForthIslands\u0022\u003C\/p\u003E\n\u003Cp\u003Eout.kittiwake \u0026lt;- vsdm.sensitivity(dat, species = \u0022Kittiwake\u0022, meta = meta, pars.full = pars.full,  ppop = 1\/3)\u003C\/p\u003E\n\u003Cp\u003Ewrite.csv(getsummary.zones(out.kittiwake), file=\u0022Output\/sensitivity-kittiwake.csv\u0022, quote=FALSE, row.names=FALSE)\u003C\/p\u003E\n","format":"csv","state":"Active","revision_timestamp":"Tue, 01\/07\/2020 - 14:53","name":"Example parameters file","mimetype":"text\/csv","size":"1.74 KB","created":"Fri, 01\/15\/2016 - 13:27","resource_group_id":"cfb0fd37-c106-448f-a40b-70c12777f645","last_modified":"Date changed  Tue, 01\/07\/2020 - 14:53"},{"id":"e0b441e6-74c5-420c-9734-8180273ce834","revision_id":"","url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/SDM-version18-final%20-%20Copy.zip","description":"\u003Cp\u003EThis simplified model includes three options for quantifying the magnitude of barrier effects. One option is to assume that they come from a normal distribution with mean 20 km and standard deviation 5 km; this corresponds to the way that barrier effects are specified in the full model. The remaining two options assume that the bird will incur an additional flight cost by flying around the wind farm rather than straight through it and quantify this additional cost by assuming that the wind farm is circular. The two options specify the radius of the circle in two ways: 1.To ensure that the set of bearings from the SPA that encounter the circle is the same that encounter the actual wind farm; or 2.To ensure that the area of the circle is the same as that of the actual wind farm GuillemotInput Files The model requires six input files; one file to provide species-specific information about the spatial distribution of the species within the region of interest, one file to provide parameter values for the model, and four files to provide meta-information. The four meta-information files contain: colonies.csv : locations of each colony (with columns \u2018colony\u2019, \u2018longname\u2019, \u2018long\u2019, \u2018lat\u2019) colonysize.csv : size of each colony, in terms of number of pairs (with columns \u2018SPA\u2019, \u2018Colony\u2019, \u2018Guillemot\u2019, \u2018Razorbill\u2019, \u2018Kittiwake\u2019, \u2018Puffin\u2019, \u2018Gannet\u2019). Note that SPAs may contain more than one colony. wfinfo.csv : locations, on the 0.5 x 0.5 km GEBCO grid, that are contained within the core and buffer regions for each wind farm. Columns are: \u2018WFcode\u2019, \u2018Longitude\u2019, \u2018Latitude\u2019. Ten options are currently used for WFcode: \u2018IC-footprint\u2019 (Inchcape footprint), \u2018IC-buffer\u2019 (Inchcape buffer), and so on for NnG, R3A, R3B and R3AB. wfstats.csv : summaries of the relationship between each wind farm and each SPA. Columns are: SPA, WindFarm, Dist, AngleMid, large.anglerange, large.radius, large.MAD, small.anglerange, small.radius, small.MAD. \u2018Dist\u2019 is the distance, in km, between the central colony of the SPA and the centre of the wind farm. The remaining columns refer to the sets of bearings from the SPA that would include the wind farm. The parameter.csv file contains parameter values to use in running the displacement model \u2013 an example is provided. Information is required for all rows and all species. The \u2018Version\u2019 column is used when performing sensitivity analysis, and should be left blank otherwise. Examples of the functions in use are available on MSI.\u003C\/p\u003E\n","format":"zip","state":"Active","revision_timestamp":"Tue, 01\/07\/2020 - 14:53","name":"Simplified Displacement Model - R code","mimetype":"application\/zip","size":"8.23 KB","created":"Fri, 01\/15\/2016 - 13:29","resource_group_id":"cfb0fd37-c106-448f-a40b-70c12777f645","last_modified":"Date changed  Tue, 01\/07\/2020 - 14:53"}],"tags":[{"id":"97910b58-3877-4fe0-9949-e5df66117014","vocabulary_id":"2","name":"seabirds"},{"id":"1996e5a4-165a-4b75-ac05-d8a69cfdbfb2","vocabulary_id":"2","name":"marine planning"},{"id":"3743ace0-b6f2-4bfc-9332-1b3b82366c70","vocabulary_id":"2","name":"marine renewables"},{"id":"0e6b726b-7a60-46d2-8d6b-fd4cf65e5380","vocabulary_id":"2","name":"behaviour"},{"id":"2287e456-49fe-431b-b60d-1c1cb2021aaa","vocabulary_id":"2","name":"modelling"}],"groups":[{"description":"\u003Cp\u003EResearchers and analysts in Marine Directorate often use coding to solve analytical tasks and modelling. This group contains code that has been released as a package that can be used by others.\u003Cbr \/\u003E\nPlease note that in most cases, this will be packages of functions or scripts that can be applied in an existing software package, rather than a full software solution.\u003C\/p\u003E\n","id":"cfb0fd37-c106-448f-a40b-70c12777f645","image_display_url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/button%20220%20code_white.png","title":"Code","name":"group\/code"},{"description":"\u003Cp\u003EData related to marine planning activities or providing data and information to assist planning processes.\u003C\/p\u003E\n","id":"dc905d83-2dd1-4188-b7a7-3bb946d8e8b3","image_display_url":"https:\/\/data.marine.gov.scot\/sites\/default\/files\/\/button%20220%20jan%202016-29.png","title":"Marine Planning","name":"group\/marine-planning"}]}]}