Home

Crop Information Portal Admin Manual Release 1.0.x GeoSolutions

image

Contents

1. e pak NDVI region crop mask start date end date You can ingest as a CSV browser operation or simply download it to check the data pak NOVI district disabled 20120901 20120810 Cc5v B542 29 11 2013 Bytes Figure 2 40 Generated CSV 2 1 Crop mask file browser If you want to use a custom crop mask it s probably that you need to upload it before execute the NDVI statistics action Please follow this instructions Open Crop Mask file browser Press on this button Masks Crop Mask Disabled Custom k agri merge erase shp Y Crop Mask file browser Figure 2 41 Crop mask file browser button 27 NDVI Statistics it Crop Information Portal Admin Manual Release 1 0 x Upload shp files Upload the shape file and it dependencies one by one with the file uploader File Browser Name Actions Size LastModified No files to show Select hes t upload Press Add button to add more fie inputs mon mene erase di ar Choose Ne mgn menge erase prj ak Choose file agn mene erase qu We Choose fe MEC agn merge erase sbn Ex Choose he EET agi menge erase sby lr Choose fle an menge erase shp im Choose fie Bn mene erase shp xml ary Choose He agn menge erase shx Wk Choose fle MEUM Add File Upload Figure 2 42 Crop mask file browser upload Now you can select the new crop mask as custom mask on the NDVI statistics form 32 Chapter 2 Administation of Crop Information Portal Crop Information Po
2. 2 NDVI Statistics This browser module allow you to generate a CSV with NDVI statistics To access it you have to press the button on the navigation bar FARATAN Acum TURE INnEOONATION SYSTEM CROP Information Portal Figure 2 36 NDVI statistics module link Now you must complete the form Region indicates if the statistics will be generated for each province or for each district The default selection is district boundary Regions District Boundary O Province Boundary Figure 2 37 Regions selector Mask select a mask to be applied on the NDVI statistics generation You can select the default Crop Mask default disable it or a Custom crop mask Masks Crop Mask O Disabled 0 Custom k agr merge erase shp Y Crop Mask file browser Figure 2 38 Masks selection 30 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x Dekad to select a dekad you must select the year the month and the dekad of available dekads As you know avilable dekads are loaded from the NDVI layer on GeoServer If you want to add a new dekad you must follow the instructions of the NDVI file browser section Dekad 1998 Y Apr First Y Figure 2 39 Dekad selection Then you must press on Generate statistics When the the process will succeed it will appear the generated CSV with the syntax on the CSV browser module on generated folder with the name linked to the selected form
3. Architecture of Crop Information Portal The administrator interface interacts directly with the file system with the database and with GeoBatch Allows to upload and download files and launch some GeoBatch flows on them Provides also a direct interaction with the database to customize the agrometeorological factors and crops to show inside MapStore GeoBatch runs flows using files from the filesystem Depending on the type of flow geobatch interacts with the other components publish data in geoserver update database create csv files MapStore uses the capabilities of GeoServer to show aggregated data and maps The filtering and aggregation func tionalities are implemented as parametric views on GeoServer All the parametric views in GeoServer are optimized to aggregate and filter the data in the fastest way MapStore requires the proper output format to geoserver in order to show tabular data maps charts or download CSV files GeoStore is used to manage user data that are not directly connected with the model 22 Architecture R Crop Information Portal Admin Manual Release 1 0 x There are other small web applications non present in the schema highcharts export An application that allows to rasterize charts in various formats pdf svg png jpeg http proxy A secure proxy that can allow MapStore to get maps from other qualified WMS sources s xmlJsonTranslate a container of services required by MapStore grouped in a sep
4. NDVI browser module link This operation publish a new Geotiff image for a date interval on the NDVI layer 2 6 1 File format The name of the Geotiff file must have this format dQvYYMMD tif with e YY Year of the image two last digits of the year e g 1998 becomes 98 2000 becomes 00 e MM Month of the image between 01 January and 12 December D Dekad of the image 1 2 or3 2 6 2 Execution flow The execution flow for this operation 1s 1 Upload the new NDVI Select the Geotiff file to upload 2 Execute the ingestion Press on NDVI button on the uploaded file Select files to upload Press Add button to add more file inputs dv13011 pak tif zr Choose file add Fie Figure 2 30 Upload button 3 Update the file browser status If you want you can see the ingestion status 2 6 NDVI Browser 27 Crop Information Portal Admin Manual Release 1 0 x NDVI The flow is running with id c6096296 a0e2 49b5 81d7 98e38e9b930f3 You can check its status here Figure 2 31 Get status after execution Note If the file is too big you will not be able to resume the status of the ingestion flow until the ingestion is finished In this case you will have to update the file browser status and wait for a SUCCESS or FAIL message about the ingested file File Browser Creare Directory Hame Actions Size LastModified Delete Download Last executian Status Figure 2 32 Update button 4 See the log C
5. style to generate maps for area province soybean prod style xml style to generate maps for production province soybean yield style xml style to generate maps for yield Area Type National District or Province District district soybean area style xml style to generate maps for area district soybean prod style xml style to generate maps for production district soybean yield style xml style to generate maps for yield Add a SLD style You can access to the style layer descriptor SLD definition page on GeoServer selecting Styles module on GeoServer 24 Crops and Agromet factors 00000 45 Crop Information Portal Admin Manual Release 1 0 x 1 c T About amp Latis Lf Server Status GeoServer Logs Contact Information amp About GeoServer Data Layer Preview Ea Workspaces 3 Stores Figure 2 15 Styles module on GeoServer 16 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x and press on add a new style styles 2 ibi der 29 Lapa rear o5 c o gt Rag b H out T4 nene v Banc Tp EH my Diii cep wie mem 58 Dei cnp weg Dd 5 Figure 2 16 Add a new style button Now you have to fill the form with the new name for this exercise you can copy a style from the existing ones Copy from existing style province cotton area style Figure 2 17 Copy province cotton ar
6. Last execution Status l Folder Up one fokler cropdata_insert esy coy J8 Byes 10 01 2014 Daima Download 16 13 01 cropdata mod csv cay 58 Byes 10 01 2014 Download cropdata rm cswv CSV BlBytes 10 01 2014 Download pak ND msertcsv csv 133 Bytes 10 01 2014 Testers Download Figure 2 26 Update button 24 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 4 See the log Click on SUCCESS or FAIL message on the file File Browser Create Dwrectony M me Actions Size LastModified Delete Download Last execution Status T Falder Up one folder cropdata insert csv esy 56 Bytes 10 01 2014 Dese Dewmnlnacd 18 13 01 cropdara mod csv cay ag Bytes 10 01 2014 Download cropdata rm csv CSV BlBytes 10 01 2014 Download pak NOWI msert csv CRV 133 Bytes 10 01 2014 Tasks Download Figure 2 27 SUCCESS button and on Get status button on the next page Consumer ID cap881lc aaa Abda bcbd ceca Figure 2 28 Get status button Then the log of the execution will be shown in the page If the message is SUCCESS should appear a resume with the status of the CSV ingestion p dir dir dir dir di div dir dir dir dir di div dir dir dir dir dir dir dir dir dios dio div dir dir dios dir dir dir dio dios dios dios dir dir dio dios dies di dir dir dir dies di dir dir dir di dir dios Xx x SUCCESS CSV inge
7. admin A lISO32 dvi 26 admin admin admin admin admin arch 4 arch model 6 crop agro l3 lntro 9 stats 29 use_man 8 overview PYTHON MODULE INDEX 37
8. be customized Logout logout from the administration interface To better understand what these sections does you should do a deeper look to the global architecture 2 2 Architecture The portal is composed of several web applications that interact with each other Some of them are used directly by the users MapStore Administration Interface 2 2 1 Components The following are the components of the architecture of the Crop Information Portal Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x MapStore The main front end to generate charts maps and reports inferring agro metereological data Inter acts with GeoServer to allow this kind of processing Administration Interface The administrator front end to update published data and generate statistics from raster images interacting with GeoBatch Provides also user management functionalities GeoStore a non sql REST access database used to store users data and to log their operations GeoServer is an open source software server that allows users to share and edit geospatial data Designed for interoperability it publishes data from any major spatial data source using open standards GeoBatch is an Open Source application for the collection processing and publication of geospatial data in real time 2 2 2 General Architecture user maps charts data data DataDB Spatial DB Figure 2 3
9. dec ands yr are redoundant field used to simplify queries to the database and make them faster 2 3 User Management page This section illustrates how manage users from the User management page By clicking on the section Users the administrators of the system can access to the User management page ca Figure 2 4 Access to User Management page Users i name role admin ADMIN 4 USE USER Edt Delete Figure 2 5 User Manage page From this page you can see the list of users and their ROLE The users with ROLE ADMIN can access to the administration interface The users with ROLE USER are only allowed to use Data output type in the tools in mapstore See tabular data and download aggregated data in CSV format 8 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x By clicking on Create User button you can create new users From the form shown below you must insert an User Name its ROLE USER or ADMIN and a password for the created user Figure 2 6 Create User button 23 User Management page 0 9 Crop Information Portal Admin Manual Release 1 0 x By clicking on Create button you submit the creation of new user If ok an alert like shown below appears F Create User WISE Fole Password Canfirm Password email 10 test Ser Figure 2 7 Create User form Jser Saved successtully Figure 2 8 Success User creation alert Chapt
10. of tons for all crops except cotton which is expressed in thousands of bales area is always expressed in thousands of hectares ha yield is always expressed in kg ha agrometdescriptor The agrometdescriptor is a table that contains the list of the available factors Description this is the string that identify the factor schema this is the label that represents the factor in the application this is the kind of aggregation method to apply can be avg average or sum the unit of measure for the factor Sample Content here some sample rows from the agrometdescriptor table factor labi aggregation unit i NVa NDVI a agromet Contains agro metereological data for each district of Pakistan for each term dekad 22 Architecture 7 Crop Information Portal Admin Manual Release 1 0 x Sample Content here some sample rows from the agromet table province year month dec factor S yr KPK 2012 Oct Tmin avg 12 KPK 2012 Oct Tmin_avg KPK 2012 Oct 2 Tmin avg 12 2 KPK 2012 Oct 2 Tmin_avg 11 3808 012 KPK 201 Oct Tmin avg 201 KPK 20012 Oct Tmin avg 2012 KPK 20012 Oct Tmin avg 2012 KPK 2012 Oct Tmin avg 2012 KPK 2012 Oct Tmin avg 2012 Note The factor column have to be the same of the id in agrometdescriptor table e district and province columns must match with district and province columns in the district boundary and province boundary tables s
11. year mon dec and factor are the composed primary key of the database and the last column is the value of the agromet factor Crop Data The header for a crop data operation must be Ccrop distr prov year years area prod yield and the values must be correct values for the database For example id crop distr prov year years area prod yield dummyv rice rake dist rako prov 2000 2000 2005 1 151 Note area planted area for that region during the year and for the commodity indicated prod production for that region during the year and for the commodity indicated yield yield of the crop for that region during the year The first column is ignored and the other columns are the cropdata table columns The primary key is composed by columns crop district province and year Crop status The header for a crop status operation must be pLacClor Crop month d c max min opt and the values must be correct values for the database For example rowid TadCcLtOr corop month dec max mnuin opt l Imax avo take orop 2 T ADE 15 16 422 15 420 l Tmax avq frake crop 2 May 1 16 42 15 20 Note max the maximum value to show in Crop Status module for the dekad and the crop e min the minimum value to show in Crop Status module for the dekad and the crop opt optimal value dashed in Crop Status charts The first column is ignored and the other columns are the crop
12. PAKISTAN AGRICULTURE INFORMATION SYSTEM CROP Information Portal Crop Information Portal Admin Manual Release 1 0 x GeoSolutions January 23 2014 1 Overview 2 Administation of Crop Information Portal 2 The Administration Interface 2 2 JjJAEGhHIGEIUPE onec ox cR 8S eRe mom xo xe 3e EES G 2 5 User Management page 2 4 Crops and Agromet factors 2 2 CSV Browser uo s omo 4 oo EOS O RYE d 2 06 NDVIBEFOWS f 45 2 x r kcx Xo xS 2 7 NDY I Statistics uxo ooRe o4 ode m dee ER hrs 2 5 WOW DIAS xo Rossw ee ROS Foe S EROS 29 Operation List s vo Roo Rex nb yox es Python Module Index CONTENTS CHAPTER ONE OVERVIEW Crop Information Portal is a web portal with reliable data and information on historical and current crop data anda agro metereological condition in Pakistan It allows users to extract statistics and detect conditions affecting production of major Rabi and Kharif crops This document is an extension for the system administrators to explain how to use the Crop Information Portal s admin interface If you need want to learn something about the user interface please use the User Manual instead this document Crop Information Portal Admin Manual Release 1 0 x File Browser PAKISTAM AGAICULTUAP IMEDRKATICN Sr STEM Pio CROP Information Portal amp 5 S Administration page iall Bres Mea ho capiam r dall LKB K l emm Ne gad agn mee mane doi fe Ch
13. PS Se CROP Information Portal Operations List lo BEET Bapa Type F ir Leite e La eral Mbh att LE L TaLe See K Rl a noe G h ded irure LN RA or Odi ii 1 tn T presa ees eee ees 0 T T ee HIA LEX EEF 1 peeled r pri gee r Darm am GR BLP Ti SL Ti E pA 4 E Kh Dn Le n y A D HIFA rer C Es mam hale eye pL RTE rE GPO erect ans Cale mann UC eee ra Fp gpd be Se E Wa C r cogna ee ee es Dom ala ee ee Dpiog up L BII E CP RER G E L EPE TRIB Daran NK Caer Te r Brr ee C LPY 6 h ees U P RN hirin ee HAT Feas i Tra r 1 W r perah oua nn r F cur Dal eee n 1 UCD Rre rR penp E pa eh men ee ee ee acum ccr ra Tir srar gal om n MP aera aA ge E guias ere b ndn r D 1 8 n an am en TR ma r 1 6 Dum dh Br R E THT ILE MR SH VR H E RIE ISL He ee oe ee LRE RORA BR PA ieee H pede ieee ee eee 1 Br ums out eee rr aru m um an RE eee Figure 2 49 Operation list module This module show a resume of available operations on the application For each available operation will show Name Name of the operation REST path Used to access to the view of the operation and interact with this e File Action Indicates if the file can be executed with a file 29 Operation List 0000000000000 85 Crop Information Portal Admin Manual Release 1 0 x 36 Chapter 2 Administation of Crop Information Portal Cippak cippak OlDppak Cippak Cippak cippak cippak orppak cippak cippak cippak admin admin admin admin csv 20
14. arated application A more detailed description about the model is available here Model The NRL database contains the main model district boundary districts in Pakistan district crop districts in Pakistan with some differences in districts that matches with provided data about crops na national boundary Pakistan tional_boundary province boundary provinces in Pakistan province crop provinces in Pakistan to generate crop maps List of relations cropdescriptor Contains informations about specific crops Sample Content here some sample rows from the cropdescriptor table ia abd seasons Rice Cotton RABLKHARIF Wheat RABI KHARIF cropdata Contains the data about production cultivated area and yield of every year This table can be populated ingesting the csv files 6 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x Sample Content here some sample rows from the cropdata table district The crop column have to be the same of the id in cropdescriptor table district and province columns must match with district and province fields in the district_crop and province_crop tables Yield column is redoundant for compatibility reasons the yield is calculated at runtime getting values from area and production fields Note Unit of measure are not uniform to mantain the original format of the CSV files production is expressed in thousands
15. data table columns The primary key of this table is composed by crop month factor and dec columns 22 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 2 5 2 Operations To apply changes to the data insert update delete you have do run the CSV operation to a csv file 1 Upload the file Select a file from your file system and click on Upload SL AR nude BurcSPSATRI amp ev CROP Information Portal File Browser is Arrwean s er aoe i und Terent Pes lcm d mri morae Som s L yos Deer eer Fere Do ote ver F K KHS Peter IBIEGH LE masc a rdgpua HSG fd DET ede oe fe re m x Figure 2 24 Upload a file 2 5 CSV Browser 23 Crop Information Portal Admin Manual Release 1 0 x 2 Execute the ingestion Click on CSV button File Browser Create Directory Name Actions Size LastModifhied Delete Download Last execution Status 4 F lde Lp ore tolder cropdata inser csv csv 88 Bytes 101 2014 Dishes Download Figure 2 25 CSV button 3 Update the file browser status If you want you can see the ingestion status but if the file is big you won t be able to view the resume before the ingestion will be finished In this case you will be able to update the file browser status and wait for a SUCCESS or FAIL message on the file File Browser Create Dwectony Name Actions Size LastModitied Delete Download
16. e flow is volatile It means that if you switch the page after the execution you must save the id if you want to access again to the log page for that flow execution 2 8 Flow Status 33 Crop Information Portal Admin Manual Release 1 0 x Note In the file browsers CSV or NDVI when you launch an operation for a file e g CSV ingestion NDVI publish the application will save the last execution of a process for that file last execution and Status columns Than you can resume the log clicking on the status button For more complex operations like NDVI Statistics you have to save the Consumer ID manually to recover the status of the process Anyway the full log for the operations execution is not stored forever If you have saved a Consumer ID and you want to see the log you have to 1 press on Check Flow Status on the navigation bar FAILEN A719711 TULIT bee Te STEM CROP Information Portal Figure 2 46 Get status module 2 paste the Consumer ID in the textbox Consumer ID Figure 2 47 Consumer ID parameter 3 Press on Get Status button Consumer ID caps6llc aaa7 dbda bcbd cecac Figure 2 48 Get status button The log will appear again on your browser 34 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 2 9 Operation List The Operation List module is available clicking on Operation List in the navigation bar PASEO A719711 aT DSETHERATET
17. ea style change the style with the new name and modify filters as you want copy from one of the present one 3 iJ 12pt Y lt SLD file created with GeoCat Bridge premium Date 81 March 2813 See www geocat net for more details gt StyledLayerDescriptor xmlnse http www opengl x51 schemaLocation http www opengis net s Le version 1 8 8 lt NamedLayer gt lt Name gt province soybean area style lt Name gt lt Userstyle gt lt Name gt province soybean area style lt Name gt lt Title gt province soy bel area style lt Title gt lt FeaturelypeStyle gt Figure 2 18 Edit the style 2 4 Crops and Agromet factors 17 Crop Information Portal Admin Manual Release 1 0 x validate and submit the new style name TiLL gt FFE9D9 lt CssP name stroke gt 5E6E6E lt Cs names stroke width 8 4 Rule Name 11 50 lt Name gt Title 11 58 Title oqc Filti name fill 24EBA986 CssP j l ledi LIE H R L bE L LI SS archivo No se ha seleccionado ningun ar Figure 2 19 Styles submit Edit Delete Crops You can edit delete the crops clicking on the Edit and Delete buttons on the right of each row 18 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 2 4 2 Manage Agrometeorological Factors To manage Agrometeorological Factors you can click on the Agromet Factor
18. er 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x Now the list of users shows the new user Users Create Lier L name rele 3 admin ADMIN Ent Liege Figure 2 9 User added 2 3 User Management page 11 Crop Information Portal Admin Manual Release 1 0 x You can also edit or delete the users as shown by the forms below From the Edit User form you can only change the ROLE and the password of the user Edit User User test Role User Password Confirm Password email Cose Figure 2 10 User edit 12 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x You can remove the user clicking on the Delete button F Delete User Are vau sure ta delete test Clase Figure 2 11 User delete A popup will appear to confirm the operation 2 4 Crops and Agromet factors 2 4 1 Manage Crops To manage Crops you must click on the Crops link in the navigation bar Crops id Label Season s rice Rice KHAHIF Edit Delete collan Catton KHARIF Edit Delete maize Maze KHARIF Edit Delete fodder Fodder RABI KH amp RIF Fail Delete wheat Wheat RABI Edit Delete sugarcane Sugarcane KHARIF Edit Delete Figure 2 12 The list of available crops 24 Crops and Agromet factors 18 Crop Information Portal Admin Manual Release 1 0 x Create a new Crop To create a new crop click on the Create butto
19. for this application are e user admin Crop Information Portal Admin Manual Release 1 0 x password admin Note Only the users with the ADMIN role can access to the administration interface Once you login you will be automatically redirected to the Users List PAKISTAN AGHIOCULTINE lu CHLMULTK3H SYSTEN CROP Information Portal Users B nam rolp dl Bamin ALA Edd 4 use USER Edi Deieig Figure 2 2 The page on first access Below the banner the Navigation bar provides links to the available sections of the administration interface The available links are Crops allows to create edit delete the crops available in the portal Agromet Factors allows to create edit delete the factors available in the portal NDVI Statistics allows to generate statistics for the NDVI from the raster data published on the portal Users Allow to add edit delete users is the default landing page after login File Browser NDVI allows you to upload images of NDVI and publishing it on the portal File Browser CSV allows you to upload CSV files and use them to update the database of crop data agrome teorological conditions and thresholds Allow also to download CSV files generated by the statistics module Operations List A list of available operations for this installation of the administration interface Check Flow Status Allow to monitor the status of the execution of process launched in geobatch Help a dummy link for help Can
20. lick on SUCCESS or FAIL message on the file dv13013 pakti NDVI 3810006 Bytes 12 10 2013 Download 13 05 20 Figure 2 33 SUCCESS button 28 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x and on Get status button on the next page Consumer iD c8 956296 aDe2 4905 Bld7 3Be Figure 2 34 Get status button If the ingestion status is SUCCESS Operation Ended Successfully Consumer action task Running actions Consumer action progress 100 03 Consumer 20148113T120572BB22UTC Started 06 Configuring Consumer 20148113T12852BB27UTC Progressing 10 0 Managing events Consumer 20148113T12852BB27UTC Progressing 20 0 Creating backup dir Consumer 20148113T128528B28UTC Progressing 38 8 Preprocessing event dvi13813 pak tiT Consumer 280148113T128528B29UTC Progressing 50 0 Running actions Consumer 280148113T128528R29UTC Progressing 8 G amp Running HOYI file preparation 1 2 Consumer 20148113T12852808443UTC Progressing 58 8 Running NOWI image mosaic 2 2 Consumer 20148113T128522847UTC Progressing 186 6 Running actions Consumer 20148113T128522847UTC Completed 180 68 Running actions Figure 2 35 Status of the execution you can view the new granule on the different NDVI selectors NDVI statistics NDVI tool see user manual 2 6 NDVI Browser 29 Crop Information Portal Admin Manual Release 1 0 x
21. n A form with the information to set will be displayed complete the form as follows The new crop will be shown in the Crops list Crops rica cotton rate fodder wheat sugarcane soybean Create Season Label Rice Cotton Maire Fodder Wheat sugarcane Soybean Id sbybean soybean Rabi WwW Kharif Figure 2 13 Sample Soybean crop Seasons KHARIF KHARIF KHAHRIF RABI MARIE RABI KHARIF KHARIF Edit Edd Edit Edit Edit Edit Ear Figure 2 14 The new crop is added to the list Close Delete eta Delete Dejete Dalete Delete Delete Anyway the new crop will not be available in MapStore until some data about the crop is ingested How to allow map generation for new Crops To generate maps you must add 6 new styles to geoserver with a specific name 14 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x province district crop id lower case areal prod yield style In the case above the styles to add will have the following names province soybean area style province soybean prod style province soybean yield style e district soybean area style district soybean prod style district soybean yield style Note This styles are needed to generate maps in the Crop Data module of MapStore Area Type National Province province soybean area style xml
22. on N Login ee orae s Mharr Me Lg M Weg mane qa wu E agn meg rune ube Chom Ne Ld api mede rrr de Carr Ne LEA L Wee ORB Dh agi meum rap g ra dug RE dedeub Ue NEN r E Tra mla kom al ao matim File Browser Garena i laps HFurmjrmg sad jung Cage mijm prapa LO QA Conapmar SRST Started 0 69 Cer igurinmg CAER FAIS RRO UIE FP eg UU H Pg Pe TT Rees 1 DUIDABIISTLISEZENZTUTE Prggrgeeleg 20 0 Ereallra barea gli Corapmar SLIT LSS Progar B Bian R u5 5394 wri Je Laali pak LLT Ganser Mikii NEATE Frzgrekring 53 575 Barre REL bor CywelbBer FS KTR KMR 8 WX eine Ee Tiie prea AT urth Riese TILT Pra geen Ux Rann lra SEEN aig CornapmEr SIT LTT Frograrkirg III N Ging ach bere CornsbBar sedi STC Dzszbeted iHi Famaing setis Figure 1 1 The administration interface 20 Chapter 1 Overview CHAPTER TWO ADMINISTATION OF CROP INFORMATION PORTAL 2 1 The Administration Interface The portal provides a lot of data to facilitate the analysis of the state of the crops in Pakistan These data must be contin uously updated and where possible automatically To allow mantainence operations the portal has an administration interface for admin users i aur PAKISTAN AGRICULTURE INFORMATION SYSTEM N K GT C N USDA E hwUM 145 CROP Information Portal Sv 2 s SUPARCO 4A E Administration page Login LUsemanme Password Figure 2 1 Login Page The default credentials
23. records on agromet crop data and crop status tables This allows to publish dekadal values for Agromet module yearly values for Crop Data module and thresholds to use in the Crop Status module To access to this module you need to click on the navigation bar button File Browser CSV Pa A719711 nT eee ee OTT ME CROP Information Portal File Browser Mia ru N ins ell Cee Ead EET Trl Malet Ete Diss kaiki E pirin Lh Ea To em 6 tnad cep did eee qe ga mon Sr neu Uh Sed MID MENS Figure 2 23 CSV Browser on navigation bar Now you can upload your files to launch the ingestion The file operation and the target table depends on the CSV files you upload 2 5 1 Known CSV formats The target table depends on header row of the CSV file to be ingested and can be Agromet Crop data Crop status Agromet The header for an agromet operation must be dristr prov year mon dec tacLor s and the values must be correct values for the database For example rowId distr prov year mon dec factor NDVI avg BOlan BALOCHISTAN 2013 Jan 1 fake_arg 100 2 Bolan BALOCHISTAN 2013 Feb 1 fake_arg 200 2 5 CSV Browser 21 Crop Information Portal Admin Manual Release 1 0 x Note The value element is the measured value in that region during the period of time indicated expressed in the unit of measurement provided in the agromet descriptor The first column is ignored the columns distr prov
24. rtal Admin Manual Release 1 0 x 2 8 Flow Status When you execute CSV ingestion NDVI publishing or statistics generation you start a flow execution on GeoBatch Wile running an identifier will be associated to that flow execution We call this identifier the Consumer ID CSV The flow is running with id 76c4bc6a 8906 4575 84c7 366ef5c70666 You can check its status here Figure 2 43 CSV execution the Consumer ID is 76c4bc6a 8906 4575 84c7 366ef5c70666 Clicking on the link Aere you will be redirected to the Flow Status page You can see the Consumer ID in the textbox and the Get Status button Consumer ID caps61llc aaa7 dbda bcbd ceca Figure 2 44 Get status button Clicking on the Get status button you will see the current log for the flow execution you started PRT A TON eee Se CROP Information Portal Nr da m Pree Poe eel B bles DR c ae ee gap HE F amg DS AB EET N T gis TU Lies Aes coe ee ee ee 9 bagi 18 LAJ AED CATA Tees TS See ee E p TE E Da kiika EE l Ceram HAITI T gmisimp L F mru g vani I L I a GEE Le be Hm u a dm 8 Tacammero SELIBIZITIDUREKI TE Fop mitin dA ing 301 ura 171 qrii iar m r C i 54 P4 28 n 34 E rr erg Jhi ru 12471 m 1S m bolle FE Pa RETE LS p Ce eee ree ddr oe oe bgp d ie mar mda A Tee BE is dm ims T ETES BR BIS PTE Eal rZ IER TN I I amp Era ECT mam ains wirg i is mi LE r r mp le e Figure 2 45 Message log The id of th
25. s link in the navigation bar Factors id Label Unit Tmax_avg Max Temperatura C Edit Delete NOVI avg NDVI Edit Delete prt sum mm Precipitation A Edit Delete Daylen avg Day length hr Edit Delete Tmin avg Min Tamparature E Edit Delete Figure 2 20 The list of available factors Create a new Factor To create a new factor click on the Create button A form with the information to set will be displayed complete the form as follows Create ET avg Label Evapotrans piration Unt mm day Aggregation avg Figure 2 21 Sample Evapotranspiration factor 2 4 Crops and Agromet factors 0 49 Crop Information Portal Admin Manual Release 1 0 x The new factor will be shown in the Crops list Factors ld Label Unit Tmax ag Max Temperature A Eda Delete HDVI avg NDVI Edi Delete ppt sum mm Precipitation mm Eda Delete Daylen avg Day length nr Eda Delete Tmin avg Min Temperature LC Eaa Palate ET avg Evapatransqsration mmv day Eaa Delete Figure 2 22 The new factor is added to the list Anyway the new factor will not be available in MapStore until some data about the factor is ingested Edit Delete Factors You can edit delete the factor clicking on the Edit and Delete buttons on the right of each row 20 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 2 5 CSV Browser This section explain how to use CSV Browser to allow Create Update Delete
26. stion resume x x x x k p dir dir dir dir di div dir dir dir dir di div dir di dir dir dios dir dir dir dios dis div dir dir dios dios dir dir dio dios dios di dir dir dir dios dies dir dir dir dios dies dir dir dir dir di dir diro Records inserted 1 Records updated U Records removed U x Failed records U KKKKKKKKKKKKKKKKKKKKKKKKKKKKK Kk kok k ok ok kk ck ck k ok k ck k k kkkkk We have attached examples for each operation and for each table 2 5 CSV Browser 25 Crop Information Portal Admin Manual Release 1 0 x Create You need to create a CSV file with the new entry inside Examples Agromet insert Crop data insert Crop status insert Update You need to create a CSV file with the primary key of the row to be updated and change the value to be updated Examples Agromet update Crop data update e Crop status update Delete You need to create a CSV file with the primary key of the row to be deleted and leave all the other columns empty Examples Agromet delete Crop data delete Crop status delete 26 Chapter 2 Administation of Crop Information Portal Crop Information Portal Admin Manual Release 1 0 x 2 6 NDVI Browser This module is designed to learn how to deploy new NDVI images on the server To access to this module you have to press the button on the navigation bar Pa Ae nT bee ee TEM CROP Information Portal Figure 2 29

Download Pdf Manuals

image

Related Search

Related Contents

Transcend StoreJet 500GB StoreJet 25D2  Fiche signalétique ».  MANUAL DE INSTRUCCIONES  Manual Parker Serviceman Plus  取り扱い説明書PDF  #40645 ISG 1000 #40647 ISG 2000  Samsung VE-1S User Manual  0+ 6SRWOLJKW - Premier  Q1.5 (Advanced 1.5 year old child) User Manual  

Copyright © All rights reserved.
Failed to retrieve file