How to create ncf files for inmap? or do we really need to create our own ncf?

93 views
Skip to first unread message

Anil Gogebakan

unread,
Oct 19, 2023, 10:42:32 PM10/19/23
to inmap-users
Dear inmap users,

I have been trying to understand how to run inmap. I am trying to run some scenarios where I retire coal usage for some electricity generation power plants in New York area to see the impact. However, I am having difficulty understanding how to handle .ncf file that is required by inmap. In particular, I don't understand if I need to create an appropriate .ncf file for New York area by myself or do I use some built-in .ncf file similar to evaluation data la_test in Evaluation data for the Intervention Model for Air Pollution (InMAP) version 1.3 (zenodo.org) (I can sucessfully run Los Angeles tests by using inmapData.ncf file under la_test folder combined with GroundLevel.shp file under 2005_emissions folder). Now, I am trying to use InMAPData_v1.2.0.ncf file provided with evaluation data in the above link to get results for my own purposes (i.e. New York Area). It runs but without results... I am suspecting wrong .ncf file usage is causing this problem. Could you please provide details on how to create .ncf file for my purposes, if it is necessary.

As for my data, I have emissions from 12 power plants located in New York and I am unsure if I should incorporate this information with overall emission levels in New York or should I use this information separately in my own shapefile? I am struggling on how to create my own emissions datafile. I am suspecting I cannot handle well in the geometry column of shapefile while projecting longitude and latitude information I have. I need also some guidence on how to convert simple longitude and latitude values to (possibly) Lambert Conformal Conic projection system so inmap can read my file.

Your help is greatly appreciated,
Anil G.

Broderik Craig

unread,
Sep 9, 2024, 3:34:40 PM9/9/24
to inmap-users
Were you ever able to solve this problem? I'm having the same issues a year later

steven H

unread,
Sep 23, 2024, 8:20:54 PM9/23/24
to inmap-users
Hi,  do you fix this problem? And I also run the LA test using the ".ncf" ".shp" both under LA_test dir. But it failed, do you have any advice?

Thanks a lot.

Anil Gogebakan

unread,
Sep 29, 2024, 10:35:22 PM9/29/24
to inmap-users
Hello both,

My apologies for the delayed response. It's been some time since I last worked on my inmap codes, but here’s a quick answer:

I highly recommend using Python (along with SR matrices) for handling inmap-related tasks, as it offers flexibility and useful tools to adjust what you need. For instance, you can easily set the coordinate reference system of a GeoDataFrame (e.g., gdf.crs) or work with NCF files using the netCDF4 library. Just make sure that for whatever geographical region you have emissions data, you specify the projection to a two-dimensional space, with an ellipsoid defining the same space—Lambert Conformal Conic Projection can be helpful for this.

I hope this helps! Sorry for the high-level answer, but feel free to reach out again if you’re still facing challenges, and I can provide more details once I wrap up my current tasks.

Best,
Anil

23 Eylül 2024 Pazartesi tarihinde saat 18:20:54 UTC-6 itibarıyla steven H şunları yazdı:
Reply all
Reply to author
Forward
0 new messages