Solved

netcdf file modifier...

Posted on 2010-08-25
4
668 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

739 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