Adding data to the Data library

Location to store data

In order to add data to a data library first user needs to identify where we going to store the data. 

where do we store our Ingrid script?

file system \local \Data \Data catalog \entries \SL \FECT

where do we store data files?

file system \local \Data \ SL\ FECT

In the above-mentioned location, the user should create a folder under the user's name. 

Create a script to add data

The example code can find in this path which have create under the above-mentioned location

Folder Path: /local/data/DataCatalog/entries/SL/FECT/MOH/District_DengueCase

Below is an example to create a district-wise dengue cases map for Sri Lanka.

Starting Ingrid script




Adding the path of the source file

here we are going to allocate data to each district of Sri Lanka. therefore need to mention the path of the district indexing and the names that are located.






Defining names and index numbers of locations where data need to allocate 








Defining Datasets as a variable and defining a path to a data set,

first, we need to set a name for a variable then we have to put together the time and index name of the data set.

by doing this it says it is












Plotting the data

to plot data, have to use the name of the variable and should indicate the boundary type and color scale.






Examples for upload


Comments

Popular posts from this blog

Set-Up Local data Library

Upload data to the Data Library through Ingrid scripts