Hello,
I am trying to use data stored in the NetCDF format (.nc file extension) for a project I am working on. Is it possible to load .nc files into Stata? If so, where do I start? If not, what is the best way to convert .nc files into a format Stata can read?
For context, the data I'm looking to use (accessible here: https://datadryad.org/resource/doi:1.../dryad.dk1j0/8) divides the earth into a grid and provides annual GDP per capita estimates for each grid cell over a 26-year period. Ideally, I would like to convert the NetCDF data into a table in Stata with four columns: latitude, longitude, year, and GDP per capita.
I apologize if my question is a little vague. I've never used NetCDF data before and haven't been able to find many helpful resources online about how to work with it in Stata. I imagine others will find a discussion of NetCDF best practices useful as it is a relatively common format for geographically-oriented data.
Thanks in advance.
Related Posts with Using NetCDF data in Stata
Referring to dates using business calendarsDear Stata list, I am using time series data with a business calendar as I only look at trading dat…
Why Stata omits or does not omit treat-variable when using weights with difference-in-difference with fixed effects.Hi, I hope there is some simple reason for this, but I just could not wrap my head around this. Per…
Identify observations with criteria that occur first time after at least five yearsDear members, I have an unbalanced panel data on companies and their financial accounts for 15 year…
Discrete Time Hazard, Competing RisksHi, I am working on a survival time model using linear probability model. Discrete survival time mo…
How to specify variable labels for the x-axis in several linesHello I would like to specify the variable names in several lines of a graph, because they are very …
Subscribe to:
Post Comments (Atom)
0 Response to Using NetCDF data in Stata
Post a Comment