Solved

netcdf file modifier...

Posted on 2010-08-25
4
654 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

830 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