Answered

How do I write a netcdf file that ncdump and cdo/GrADS will understand?

James - my guess is that the other utilities you are using are based on an older version of the NetCDF library - they do not rec...

How do I write a netcdf file that ncdump and cdo/GrADS will understand?

James - my guess is that the other utilities you are using are based on an older version of the NetCDF library - they do not rec...

6 years ago | 2

| accepted

Answered

Memory Usage and block proc

blockproc will not read the full image, it ought to only read one tile each. However, since your file system is serial, the fina...

Memory Usage and block proc

blockproc will not read the full image, it ought to only read one tile each. However, since your file system is serial, the fina...

6 years ago | 0

Answered

I am able to read the netcdf file format. But how to calculate average? Suppose I have to calculate the average from 1st January to 5th January, then again 6th January to 10th January and so on.....Below is the program to read the values.

I assume you know about <http://www.mathworks.com/help/matlab/ref/mean.html |mean|> but want to find out how to index into a net...

I am able to read the netcdf file format. But how to calculate average? Suppose I have to calculate the average from 1st January to 5th January, then again 6th January to 10th January and so on.....Below is the program to read the values.

I assume you know about <http://www.mathworks.com/help/matlab/ref/mean.html |mean|> but want to find out how to index into a net...

6 years ago | 0

| accepted

Answered

Example 3D netcdf data

If you assume net connection, your example could "download" it. MATLAB can read <http://docs.opendap.org/index.php/Dataset_List ...

Example 3D netcdf data

If you assume net connection, your example could "download" it. MATLAB can read <http://docs.opendap.org/index.php/Dataset_List ...

6 years ago | 1

Answered

How to create Linear structuring element in morphological operations

Use <http://www.mathworks.com/help/images/ref/strel.html#bqkf9de |strel|>.

How to create Linear structuring element in morphological operations

Use <http://www.mathworks.com/help/images/ref/strel.html#bqkf9de |strel|>.

6 years ago | 0

Answered

How can i create a NetCDF file ?

Felipe, Consider starting with the example in the <http://www.mathworks.com/help/matlab/ref/nccreate.html |nccreate|> doc page ...

How can i create a NetCDF file ?

Felipe, Consider starting with the example in the <http://www.mathworks.com/help/matlab/ref/nccreate.html |nccreate|> doc page ...

6 years ago | 0

| accepted

Answered

character recognition

How about <http://en.wikipedia.org/wiki/Template_matching template matching>? Look at a demo, the corresponding source code s...

character recognition

How about <http://en.wikipedia.org/wiki/Template_matching template matching>? Look at a demo, the corresponding source code s...

6 years ago | 0

Answered

How to extract the data from .nc file based on longitude and latitude,time?

The nc* functions and the netcdf.* functions represent two independent ways to access a NetCDF file. I would recommend sticking ...

How to extract the data from .nc file based on longitude and latitude,time?

The nc* functions and the netcdf.* functions represent two independent ways to access a NetCDF file. I would recommend sticking ...

6 years ago | 0

| accepted

Answered

why does hdf5read function return only 4 decimal places instead all numbers

Look at the documentation for <http://www.mathworks.com/help/matlab/ref/format.html |format|>. >> hinfo = hdf5info('test....

why does hdf5read function return only 4 decimal places instead all numbers

Look at the documentation for <http://www.mathworks.com/help/matlab/ref/format.html |format|>. >> hinfo = hdf5info('test....

6 years ago | 0

| accepted

Answered

How we can check for more than one edge passing through a pixel

When looking for 3x3 (or 2x2) patterns, BWLOOKUP is usually faster and more flexible: function bw = multiedge(bwedge) ...

How we can check for more than one edge passing through a pixel

When looking for 3x3 (or 2x2) patterns, BWLOOKUP is usually faster and more flexible: function bw = multiedge(bwedge) ...

7 years ago | 0

Answered

extract portion of netCDF file based on latitide and longitude

Try using <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> first to look at the structure of your file. Usually...

extract portion of netCDF file based on latitide and longitude

Try using <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> first to look at the structure of your file. Usually...

7 years ago | 0

| accepted

Answered

Output argument "pixel_location" (and maybe others) not assigned during call to ......

Setting pixel_location to empty ([]) in the else might be the right thing to do. MATLAB often uses [] to indicate 'nothing found...

Output argument "pixel_location" (and maybe others) not assigned during call to ......

Setting pixel_location to empty ([]) in the else might be the right thing to do. MATLAB often uses [] to indicate 'nothing found...

7 years ago | 0

Answered

Imageprocessing tool of matlabR2010 doesnot contain 'getHSVColorFromDirectory' function

getHSVColorFromDirectory is not a MATLAB function. Please contact the author of the code you are trying to execute to resolve th...

Imageprocessing tool of matlabR2010 doesnot contain 'getHSVColorFromDirectory' function

getHSVColorFromDirectory is not a MATLAB function. Please contact the author of the code you are trying to execute to resolve th...

7 years ago | 0

Answered

save images as tif 32 bits by using imwrite

Soum, did you click on the documentation link? Andreas was talking about the Tiff class, which is a different interface than IMW...

save images as tif 32 bits by using imwrite

Soum, did you click on the documentation link? Andreas was talking about the Tiff class, which is a different interface than IMW...

7 years ago | 3

Answered

How to get INTENSITY along a spcific curve?

You could try using <http://www.mathworks.com/help/images/ref/improfile.html |improfile|>, it will let you draw the cirle and th...

How to get INTENSITY along a spcific curve?

You could try using <http://www.mathworks.com/help/images/ref/improfile.html |improfile|>, it will let you draw the cirle and th...

7 years ago | 0

| accepted

Answered

Builder JA Error with private file (dicominfo)

Chris: _The problem turned out to be Java 1.7 being incompatible with Matlab2013a. The documented examples like computing t...

Builder JA Error with private file (dicominfo)

Chris: _The problem turned out to be Java 1.7 being incompatible with Matlab2013a. The documented examples like computing t...

7 years ago | 0

| accepted

Answered

How do I optimize this code to run efficiently on the GPU?

A quick 'air' code using <http://www.mathworks.com/help/distcomp/pagefun.html |pagefun|>: tic M = pagefun(@mtimes, A(:...

How do I optimize this code to run efficiently on the GPU?

A quick 'air' code using <http://www.mathworks.com/help/distcomp/pagefun.html |pagefun|>: tic M = pagefun(@mtimes, A(:...

7 years ago | 0

Answered

How can i convert an ASCII file to NetCDF?

Kopparthi, I assume you meant to upload only the meta data in the text file. I am not familiar with ADCP so I am not sure how yo...

How can i convert an ASCII file to NetCDF?

Kopparthi, I assume you meant to upload only the meta data in the text file. I am not familiar with ADCP so I am not sure how yo...

7 years ago | 0

| accepted

Answered

How can delete a variable within a netcdf file

_"Attributes are more dynamic than variables or dimensions; they can be deleted and have their type, length, and values changed ...

How can delete a variable within a netcdf file

_"Attributes are more dynamic than variables or dimensions; they can be deleted and have their type, length, and values changed ...

7 years ago | 0

Answered

How do I process this netcdf file?

It looks like you have already discovered |ncdisp|, have a look at other functions in the same family: <http://www.mathworks.com...

How do I process this netcdf file?

It looks like you have already discovered |ncdisp|, have a look at other functions in the same family: <http://www.mathworks.com...

7 years ago | 0

| accepted

Answered

Regarding file convertion from one format to another format?

First, read the data into MATLAB using |fopen| and |fread|. You could then use the |nc*| family of functions like <http://www.ma...

Regarding file convertion from one format to another format?

First, read the data into MATLAB using |fopen| and |fread|. You could then use the |nc*| family of functions like <http://www.ma...

7 years ago | 0

| accepted

Answered

NETCDF GIS coupling creationg problems

I am not familiar with arcGIS, does it show you the variable dimensions? Does it expect time to be first or the last dimension? ...

NETCDF GIS coupling creationg problems

I am not familiar with arcGIS, does it show you the variable dimensions? Does it expect time to be first or the last dimension? ...

7 years ago | 0

Answered

Problem with change a files whitin netcdf

Try the <http://www.mathworks.com/help/matlab/ref/netcdf.renamevar.html |netcdf.renamevar|> function. The doc page in the link h...

Problem with change a files whitin netcdf

Try the <http://www.mathworks.com/help/matlab/ref/netcdf.renamevar.html |netcdf.renamevar|> function. The doc page in the link h...

7 years ago | 0

| accepted

Answered

How to fill inside of binary region?

How about connected component analysis? Use <http://www.mathworks.com/help/images/ref/regionprops.html |regionprops|> to obtain ...

How to fill inside of binary region?

How about connected component analysis? Use <http://www.mathworks.com/help/images/ref/regionprops.html |regionprops|> to obtain ...

7 years ago | 0

Answered

How do I call BLOCKPROC with more than one input image?

Have a look at the _Definitions_ section of the <http://www.mathworks.com/help/images/ref/blockproc.html |blockproc|> doc. Consi...

How do I call BLOCKPROC with more than one input image?

Have a look at the _Definitions_ section of the <http://www.mathworks.com/help/images/ref/blockproc.html |blockproc|> doc. Consi...

7 years ago | 0

Answered

How to superimpose images?

Give <http://www.mathworks.com/help/images/ref/imfuse.html |imfuse|> a try.

How to superimpose images?

Give <http://www.mathworks.com/help/images/ref/imfuse.html |imfuse|> a try.

7 years ago | 0

Answered

Image segmentation using active contour toolbox

I am not familiar with the toolbox you mention. If you have a current version of MATLAB, have a look at <http://www.mathworks...

Image segmentation using active contour toolbox

I am not familiar with the toolbox you mention. If you have a current version of MATLAB, have a look at <http://www.mathworks...

7 years ago | 0

| accepted

Answered

Converting multispectral images to single RGB image

Greg, I am not too familar with this domain - have a look at <http://www.mathworks.com/help/images/ref/makecform.html |makecform...

Converting multispectral images to single RGB image

Greg, I am not too familar with this domain - have a look at <http://www.mathworks.com/help/images/ref/makecform.html |makecform...

7 years ago | 0

Answered

Extracting individual maps from netCDF files

What is the size of the variable? ( <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> might help). If you have ...

Extracting individual maps from netCDF files

What is the size of the variable? ( <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> might help). If you have ...

7 years ago | 0

Answered

Does different image parameters affect image registration?

Difference in spatial resolution differece might explain the poor registration. You could specify the image spacing using us...

Does different image parameters affect image registration?

Difference in spatial resolution differece might explain the poor registration. You could specify the image spacing using us...

7 years ago | 0