Solved

netcdf file modifier...

Posted on 2010-08-25
4
645 Views
Last Modified: 2013-11-23
I had an netcdf file which I want to modify...

I had a lot of unecessary data in the file...i would like to get rid of that... and keep the data which is useful...

some of them suggested me to convert to excel using NCDUMP and modify the file...

but is it possible to reconvert to netcdf...

or is it possible to modify the netcdf file without converting it into other format...
0
Comment
Question by:shragi
  • 2
  • 2
4 Comments
 
LVL 21

Assisted Solution

by:developmentguru
developmentguru earned 500 total points
ID: 33532452
A quick search showed me the wikipedia article on the netcdf file format.

http://en.wikipedia.org/wiki/NetCDF

The format is self describing and easily modified in any language.  I also saw references to Java libraries to use to access your data in it's current format.

http://www.unidata.ucar.edu/software/netcdf-java/

Let me know if you need more.
0
 

Author Comment

by:shragi
ID: 33559448
I used ncdump...  

ncdump -p simple.nc > simple2.cdl

I got the cdl file but i need to know how to cut the netcdf data of whole country to specific region...

i have lat and lon points of whole country and the region that i need to cut...

0
 
LVL 21

Accepted Solution

by:
developmentguru earned 500 total points
ID: 33560537
I understand what you are currently doing.  It really seems to be the long way around the problem though.  It would help me to test out a solution if I had some sample data, perhaps you could come up with some and post it?
0
 

Author Closing Comment

by:shragi
ID: 33664829
My question is partially unclear... so I thought to close the question... but few experts spend their valuable time in doing this... so I thought to give points to those who spent their time...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question