Solved

netcdf file modifier...

Posted on 2010-08-25
4
503 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now