I have netcdf data file. I am a new python user. I am trying netCDF4 python module to extract data from it. But, when i extract specific lat, lon data to a variable, compiler return an error (ValueError: array is too big). How can i fix it ?
Many many thanks Thorsten Reitz. Your answer helps me to solve my problem. But i face another obstacle in there. The result values are all the same !!! All values are -9.96921e+36 repeatedly. But when i use ArcGIS 10.1 (with Multidimension Toolbox) to extract same data, the values are like 23.75, 28,79, 5.88...... Whats the problem ?!
Hi I've built a tool that extracts data from NetCDF files in Arc. What exactly are you trying to do? The tool I built will run through a folder of NetCDF files and extract the data for a dimension (say temperature) for each time in the NetCDF at a given xy point. You can use it with multiple xy points if you need to (e.g. a feature class point file). Get in touch if you think it would be of use.
I want to extract multiple point data in same time. But, ArcGIS Toolbox does not allow this. For this reason, I want to create a python code. I think, your tool will be helpful to solve my problem. If you help me, I will be grateful.
No problem Manjurul. You can email me at [email protected] or contact me through my website http://www.burdgis.com
It seems my script helped Manjurul out. Attached is a copy of the python script. It will extract information for multiple point locations in a netCDF file. Some values are hardocded and may need changing depending on the nature of the NetCDF file.