Skip to main content
Solved

NetCDF to raster/ASCII

  • January 13, 2015
  • 1 reply
  • 88 views

Hi,

 

I wonder if you can help me, I have a NetCDF file containing daily rainfall data (given in julian days, i.e. 1 = 1st January, 32 = 1st Feburary, 60 = 1st March [not a leap year]).

 

I am trying to aggregate these values by month and output them as ASCII files, I was thinking of just using a simple lookup table to convert the julian day to month, but am struggling to figure out how NetCDFs are read into FME and how I would go about this and also outputing the result as an ASCII grid.

 

Best wishes,

 

Ed

Best answer by david_r

Hi,

 

 

that would depend on how the NetCDF has been generated, but in general the temporal axis is represented as raster bands. So you would probably have one raster band per month, I'd guess. The raster bands will also typically have some attributes associated with them, e.g. some date, month number/name or what have you.

 

 

I have found that the easiest (by far) way to analyze a NetCDF is to open the it using the FME Inspector, select the whole raster (select a rectangle rather than a point) and inspect the attributes there.

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • Best Answer
  • January 13, 2015
Hi,

 

 

that would depend on how the NetCDF has been generated, but in general the temporal axis is represented as raster bands. So you would probably have one raster band per month, I'd guess. The raster bands will also typically have some attributes associated with them, e.g. some date, month number/name or what have you.

 

 

I have found that the easiest (by far) way to analyze a NetCDF is to open the it using the FME Inspector, select the whole raster (select a rectangle rather than a point) and inspect the attributes there.

 

 

David

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings