|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Geosoft Grid to netCDF???Hi All,
I have a raster image in Geosoft Grid format. It is generated in Oasis Montaj Geosoft software, and pixel values are apparent resistivity in Ohm.m. How can I open it in GMT or export it to netCDF format? I would highly appreciate any suggestions. Raster image details is as follows: Raster Information: Columns & Rows : 9792X7837 Band : 1 Cell size : 25X25 Uncompressed size: 292.74 MB Format : Geosoft Grid Source Type : continuous Pixel Type : floating point Pixel Depth : 32 Bit No Data Value : -1e+032 Pyramid : Present Compression : None Status : Permanent Spatial Reference: NAD_1927_UTM_Zone_7N Linear Unit : Meter (1.000000) Angular Unit: Degree (0.017..........) False Easting: 500000 False Northing: 0 Central Meridian: -141 Scale Factor: 0.9996 Latitude_Of_Origin: 0 Datum : D_North_American_1927 Thanks, Santosh To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Re: Geosoft Grid to netCDF???Santosh Panda wrote:
> Hi All, > > I have a raster image in Geosoft Grid format. It is generated in Oasis > Montaj Geosoft software, and pixel values are apparent resistivity in Ohm.m. > > How can I open it in GMT or export it to netCDF format? I would highly > appreciate any suggestions. Try to: Export it to Geosoft GXF format and: 1. Use GDAL (gdal_translate) to convert it to GMT format - not to netCDF format, which AFAIK is still bugged. or 2. Read the GXF file directly in Mirone, though the 292.74 MB may pose memory troubles. And, ... don't know what this may bother Pyramid : Present Joaquim Luis > > Raster image details is as follows: > > Raster Information: > Columns & Rows : 9792X7837 > Band : 1 > Cell size : 25X25 > Uncompressed size: 292.74 MB > Format : Geosoft Grid > Source Type : continuous > Pixel Type : floating point > Pixel Depth : 32 Bit > No Data Value : -1e+032 > Pyramid : Present > Compression : None > Status : Permanent > > Spatial Reference: NAD_1927_UTM_Zone_7N > Linear Unit : Meter (1.000000) > Angular Unit: Degree (0.017..........) > False Easting: 500000 > False Northing: 0 > Central Meridian: -141 > Scale Factor: 0.9996 > Latitude_Of_Origin: 0 > Datum : D_North_American_1927 > > Thanks, > Santosh > > To unsubscribe, send the message "signoff gmt-help" to listserv@... > > To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
|
|
|
|
Re: Geosoft Grid to netCDF???
Bring your gang together. Do your thing. Find your favourite Yahoo! Group. To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Installing GMT 4.5.1 on a 64-bit machine?Hi
Trying to install GMT4.5.1 on a 64-bit linux machine (runing openSuSe 11.1) I've run into some problems that I hope to get some help to resolve here. 0. To start with I would like to mention an oddity that might (or might not) be of importance. The initial attempts, trying to install netCDF3.6.3 using the install_gmt script failed during compilation of netcdf (complaining about not finding libnetcdf.so.4 I seem to recall. Sorry I managed to erase the install.log). However, after installing netCDF4.0-9.14 via YAST, the installation of netCDF3.6.3 went through smoothly? 1. Trying to compile GMT the installation halted with the error message: In file included from /usr/include/features.h:354, from /usr/include/ctype.h:27, from pslib_inc.h:85, from pslib.c:133: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory Hence the problem seems to be related to trying to compile a 32-bit version (I.e. unless anyone is of a differing opinon I consider this issue resolved/understood). 2. The solution then seems to be to try to compile a 64-bit version, so after looking through the mailing list archive, I changed in $GMTHOME/src/makegmt.macros -m32 to -m64 in the variables CFLAGS and LDFLAGS, then ran make in $GMTHOME/ Everything compiles nicely whitout complaints, however trying to run the executables e.g. psxy i get the error message: src/psxy: error while loading shared libraries: libgmt.so.4: cannot open shared object file: No such file or directory So clearly just runing make is not enough and any hints would be appreciated. (I could go for the 32-bit GMT, but not wanting to install a full 32-bit set of libraries due to some space issues, I would appreciate info on which libraries are used by GMT. GNU, ....?) Thanks Peter Schmidt -- ******************************************************************************** Peter Schmidt Tel: +46-18-4717104 PhD Student Mobile: +46-73-3190975 Dept. of Earth Sciences e-mail: peter.schmidt@... Geophysics http://www.geofys.uu.se/?q=view/home/75 Uppsala University Villavagen 16 SE-75236 Uppsala ******************************************************************************** To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Re: Installing GMT 4.5.1 on a 64-bit machine?Hi Peter,
I installed GMT4.5.1 on a 64-bit Linux machine running openSUSE 11.1 without problem when I set the parameter GMT_64=y in the GMTparam.txt file using the install_gmt script.
I could reproduce your error message when I changed this parameter to GMT_64=n.
I'm using the netcdf installed by the Yast without problems.
Best regards,
Marcelo Banik
On Fri, Oct 23, 2009 at 12:41 PM, Peter <peter.schmidt@...> wrote: Hi To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Re: Installing GMT 4.5.1 on a 64-bit machine?Yep, works like a charm thanks mate (did not dive into GMTparams deeply
enough obviously). Also worked compiling with gdal support so now there's going to be some serious playing all weekend :-D . Regarding netcdf, what version are you running? The reason for me to install 3.6.3 on top of having installed 4.0 is that the way the installation info is written on the GMT homepage made me think that netcdf had to be of 3.6.... flavour, thus my question is: Will it work nicely with a later flavor (I seem to recall some post about issues with later flavours, but my memory might playing tricks with me as usual) RegP marcelo banik wrote: > > Hi Peter, > > > I installed GMT4.5.1 on a 64-bit Linux machine running openSUSE 11.1 > without problem when I set the parameter GMT_64=y in the GMTparam.txt > file using the install_gmt script. > > > I could reproduce your error message when I changed this parameter to > GMT_64=n. > > > I'm using the netcdf installed by the Yast without problems. > > > Best regards, > > > Marcelo Banik > > > > > On Fri, Oct 23, 2009 at 12:41 PM, Peter <peter.schmidt@... > <mailto:peter.schmidt@...>> wrote: > > Hi > > Trying to install GMT4.5.1 on a 64-bit linux machine (runing openSuSe > 11.1) I've run into some problems that I hope to get some help to > resolve here. > > 0. > To start with I would like to mention an oddity that might (or might > not) be of importance. The initial attempts, trying to install > netCDF3.6.3 using the install_gmt script failed during compilation of > netcdf (complaining about not finding libnetcdf.so.4 I seem to recall. > Sorry I managed to erase the install.log). However, after installing > netCDF4.0-9.14 via YAST, the installation of netCDF3.6.3 went through > smoothly? > > > 1. > Trying to compile GMT the installation halted with the error message: > > In file included from /usr/include/features.h:354, > from /usr/include/ctype.h:27, > from pslib_inc.h:85, > from pslib.c:133: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or > directory > > Hence the problem seems to be related to trying to compile a 32-bit > version (I.e. unless anyone is of a differing opinon I consider this > issue resolved/understood). > > > 2. > The solution then seems to be to try to compile a 64-bit version, so > after looking through the mailing list archive, I changed in > $GMTHOME/src/makegmt.macros -m32 to -m64 in the variables CFLAGS and > LDFLAGS, then ran make in $GMTHOME/ > > Everything compiles nicely whitout complaints, however trying to > run the > executables e.g. psxy i get the error message: > src/psxy: error while loading shared libraries: libgmt.so.4: > cannot open > shared object file: No such file or directory > > So clearly just runing make is not enough and any hints would be > appreciated. > > (I could go for the 32-bit GMT, but not wanting to install a full > 32-bit > set of libraries due to some space issues, I would appreciate info on > which libraries are used by GMT. GNU, ....?) > > Thanks Peter Schmidt > > > > -- > ******************************************************************************** > Peter Schmidt Tel: +46-18-4717104 > PhD Student Mobile: +46-73-3190975 > Dept. of Earth Sciences e-mail: peter.schmidt@... > <mailto:peter.schmidt@...> > Geophysics http://www.geofys.uu.se/?q=view/home/75 > Uppsala University > Villavagen 16 > SE-75236 Uppsala > ******************************************************************************** > > To unsubscribe, send the message "signoff gmt-help" to > listserv@... <mailto:listserv@...> > > > To unsubscribe, send the message "signoff gmt-help" to > listserv@... -- ******************************************************************************** Peter Schmidt Tel: +46-18-4717104 PhD Student Mobile: +46-73-3190975 Dept. of Earth Sciences e-mail: peter.schmidt@... Geophysics http://www.geofys.uu.se/?q=view/home/75 Uppsala University Villavagen 16 SE-75236 Uppsala ******************************************************************************** To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Re: Installing GMT 4.5.1 on a 64-bit machine?Hi Peter, I check in YaST Package Manager that my netcdf version is 4.0-9.14-x86_64. Marcelo banik On Fri, Oct 23, 2009 at 2:10 PM, Peter <peter.schmidt@...> wrote: Yep, works like a charm thanks mate (did not dive into GMTparams deeply To unsubscribe, send the message "signoff gmt-help" to listserv@... |
|
|
|
Re: Installing GMT 4.5.1 on a 64-bit machine?Ok, good to know, then I will not fiddle around with older versions in
the future, thanks \p marcelo banik wrote: > > Hi Peter, > > I check in YaST Package Manager that my netcdf version is 4.0-9.14-x86_64. > > > Marcelo banik > > On Fri, Oct 23, 2009 at 2:10 PM, Peter <peter.schmidt@... > <mailto:peter.schmidt@...>> wrote: > > Yep, works like a charm thanks mate (did not dive into GMTparams > deeply > enough obviously). Also worked compiling with gdal support so now > there's going to be some serious playing all weekend :-D . > > Regarding netcdf, what version are you running? The reason for me to > install 3.6.3 on top of having installed 4.0 is that the way the > installation info is written on the GMT homepage made me think that > netcdf had to be of 3.6.... flavour, thus my question is: Will it work > nicely with a later flavor (I seem to recall some post about > issues with > later flavours, but my memory might playing tricks with me as usual) > > RegP > > marcelo banik wrote: > > > > Hi Peter, > > > > > > I installed GMT4.5.1 on a 64-bit Linux machine running openSUSE 11.1 > > without problem when I set the parameter GMT_64=y in the > GMTparam.txt > > file using the install_gmt script. > > > > > > I could reproduce your error message when I changed this > parameter to > > GMT_64=n. > > > > > > I'm using the netcdf installed by the Yast without problems. > > > > > > Best regards, > > > > > > Marcelo Banik > > > > > > > > > > On Fri, Oct 23, 2009 at 12:41 PM, Peter <peter.schmidt@... > <mailto:peter.schmidt@...> > > <mailto:peter.schmidt@... > <mailto:peter.schmidt@...>>> wrote: > > > > Hi > > > > Trying to install GMT4.5.1 on a 64-bit linux machine (runing > openSuSe > > 11.1) I've run into some problems that I hope to get some > help to > > resolve here. > > > > 0. > > To start with I would like to mention an oddity that might > (or might > > not) be of importance. The initial attempts, trying to install > > netCDF3.6.3 using the install_gmt script failed during > compilation of > > netcdf (complaining about not finding libnetcdf.so.4 I seem > to recall. > > Sorry I managed to erase the install.log). However, after > installing > > netCDF4.0-9.14 via YAST, the installation of netCDF3.6.3 > went through > > smoothly? > > > > > > 1. > > Trying to compile GMT the installation halted with the error > message: > > > > In file included from /usr/include/features.h:354, > > from /usr/include/ctype.h:27, > > from pslib_inc.h:85, > > from pslib.c:133: > > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No > such file or > > directory > > > > Hence the problem seems to be related to trying to compile a > 32-bit > > version (I.e. unless anyone is of a differing opinon I > consider this > > issue resolved/understood). > > > > > > 2. > > The solution then seems to be to try to compile a 64-bit > version, so > > after looking through the mailing list archive, I changed in > > $GMTHOME/src/makegmt.macros -m32 to -m64 in the variables > CFLAGS and > > LDFLAGS, then ran make in $GMTHOME/ > > > > Everything compiles nicely whitout complaints, however trying to > > run the > > executables e.g. psxy i get the error message: > > src/psxy: error while loading shared libraries: libgmt.so.4: > > cannot open > > shared object file: No such file or directory > > > > So clearly just runing make is not enough and any hints > would be > > appreciated. > > > > (I could go for the 32-bit GMT, but not wanting to install a > full > > 32-bit > > set of libraries due to some space issues, I would > appreciate info on > > which libraries are used by GMT. GNU, ....?) > > > > Thanks Peter Schmidt > > > > > > > > -- > > > ******************************************************************************** > > Peter Schmidt Tel: +46-18-4717104 > > PhD Student Mobile: +46-73-3190975 > > Dept. of Earth Sciences e-mail: > peter.schmidt@... <mailto:peter.schmidt@...> > > <mailto:peter.schmidt@... > <mailto:peter.schmidt@...>> > > Geophysics > http://www.geofys.uu.se/?q=view/home/75 > > Uppsala University > > Villavagen 16 > > SE-75236 Uppsala > > > ******************************************************************************** > > > > To unsubscribe, send the message "signoff gmt-help" to > > listserv@... <mailto:listserv@...> > <mailto:listserv@... <mailto:listserv@...>> > > > > > > To unsubscribe, send the message "signoff gmt-help" to > > listserv@... <mailto:listserv@...> > > > -- > ******************************************************************************** > Peter Schmidt Tel: +46-18-4717104 > PhD Student Mobile: +46-73-3190975 > Dept. of Earth Sciences e-mail: peter.schmidt@... > <mailto:peter.schmidt@...> > Geophysics http://www.geofys.uu.se/?q=view/home/75 > Uppsala University > Villavagen 16 > SE-75236 Uppsala > ******************************************************************************** > > To unsubscribe, send the message "signoff gmt-help" to > listserv@... <mailto:listserv@...> > > > To unsubscribe, send the message "signoff gmt-help" to > listserv@... -- ******************************************************************************** Peter Schmidt Tel: +46-18-4717104 PhD Student Mobile: +46-73-3190975 Dept. of Earth Sciences e-mail: peter.schmidt@... Geophysics http://www.geofys.uu.se/?q=view/home/75 Uppsala University Villavagen 16 SE-75236 Uppsala ******************************************************************************** To unsubscribe, send the message "signoff gmt-help" to listserv@... |
| Free embeddable forum powered by Nabble | Forum Help |