[ncl-talk] Convert emissions data from shapefiles to gridded raster format

Tabish Ansari tabishumaransari at gmail.com
Thu Dec 12 04:50:12 MST 2019


Hi

I've got some emissions over Ireland in shapefile format. Here's some
metadata:
Copyright (C) 1995-2019 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.6.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
(0) ==========================================
(0) Filename: "/home/tabish/Downloads/MapEIre/2016_NFRtotal/NFR.shp"
(0)   Geometry type: polygon
(0)   # of features: 499675
(0)   Min/max lat:    -16.10/  -5.31
(0)   Min/max lon:     48.02/  56.70
(0)   Variable names and their types:
(0)       geometry : integer
(0)       segments : integer
(0)       x : double
(0)       y : double
(0)       zGrid1km_I : int64
(0)       NFR_YearNa : string
(0)       NFR_GNFR : string
(0)       NFR_pAs : double
(0)       NFR_pBC : double
(0)       NFR_pbenzo : double
(0)       NFR_pben_1 : double
(0)       NFR_pben_2 : double
(0)       NFR_pCd : double
(0)       NFR_pCH4 : double
(0)       NFR_pCO : double
(0)       NFR_pCO2 : double
(0)       NFR_pCr : double
(0)       NFR_pCu : double
(0)       NFR_pDIOX : double
(0)       NFR_pHCB : double
(0)       NFR_pHFCs : double
(0)       NFR_pHg : double
(0)       NFR_pInden : double
(0)       NFR_pN2O : double
(0)       NFR_pNF3 : double
(0)       NFR_pNH3 : double
(0)       NFR_pNi : double
(0)       NFR_pNMVOC : double
(0)       NFR_pNOx : double
(0)       NFR_pPAH : double
(0)       NFR_pPb : double
(0)       NFR_pPCB : double
(0)       NFR_pPFCs : double
(0)       NFR_pPM10 : double
(0)       NFR_pPM2_5 : double
(0)       NFR_pSe : double
(0)       NFR_pSF6 : double
(0)       NFR_pSOx : double
(0)       NFR_pTSP : double
(0)       NFR_pZn : double
(0) =========================================

I have attached all the related files: .shp, .prj, .dbf etc

Is there a way in NCL to write this data as 2D lat-lon arrays?

Thanks

Tabish
 NFR.cpg
<https://drive.google.com/file/d/1qupQZiDNDDH6FvV-_fVcdsheILcwjl39/view?usp=drive_web>
 NFR.dbf
<https://drive.google.com/file/d/1Fs8D-Cs6iJ9Lkf7h_SVPyFo-Eg-dqxEN/view?usp=drive_web>
 NFR.prj
<https://drive.google.com/file/d/13d4EBW4YuSwpFZgLz5n1hVXd6c8CWihU/view?usp=drive_web>
 NFR.shp
<https://drive.google.com/file/d/1D-0xzED6voU0u5_XkVuf9F4CTND9XDjF/view?usp=drive_web>
 NFR.shp.xml
<https://drive.google.com/file/d/10aTHzW3mcSmPqV0ViLzTlaqqOq5QwM-a/view?usp=drive_web>
 NFR.shx
<https://drive.google.com/file/d/1irlv78znd9O9hY0cBNrAUvPNczINp-Vw/view?usp=drive_web>

*Tabish U Ansari*

*Postdoctoral Researcher *

*Centre for Climate and Air Pollution Studies (C-CAPS)*
*School of Physics, NUI-Galway**, Ireland*
*ResearchGate: https://www.researchgate.net/profile/Tabish_Ansari
<https://www.researchgate.net/profile/Tabish_Ansari>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191212/87c25d80/attachment.html>


More information about the ncl-talk mailing list