forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 70 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Write array to X,Y formatted file
arctica

Replies: 8
Views: 663

PostForum: Support   Posted: Thu Jun 04, 2020 11:02 am   Subject: Re:
Many thanks for the pointers. The X and Y are 2D arrays so just had to tweak the line:

write (25,'(f15.10,f15.10)') (X(i,:), Y(:,i), i=1, npoints)
...
  Topic: Write array to X,Y formatted file
arctica

Replies: 8
Views: 663

PostForum: Support   Posted: Thu Jun 04, 2020 10:17 am   Subject: Write array to X,Y formatted file
Hello,

I am trying to write X,Y values to a file from a 2D array, but the data does not output correctly in 2 columns for X and Y. At present in writes X as 2 columns and then Y appended on the end ...
  Topic: writing a binary output file from ascii input
arctica

Replies: 12
Views: 7684

PostForum: General   Posted: Wed Aug 26, 2015 2:36 pm   Subject: writing a binary output file from ascii input
Hello,

I have a quick query. I have a data file which is an ascii file and I can read and process the file i/o in text fine but was wondering if it is easy to write the otput as a binary (real*4) f ...
  Topic: Gravsoft code - Fortran 95
arctica

Replies: 3
Views: 3854

PostForum: Support   Posted: Wed Oct 22, 2014 9:44 am   Subject: Re:
Hi David,

Yes the code you show is what I was looking for, thanks for the corrections and the pointers - always helpful. The orginal code came from
Do you mean something like:


Program Gravso ...
  Topic: Gravsoft code - Fortran 95
arctica

Replies: 3
Views: 3854

PostForum: Support   Posted: Tue Oct 21, 2014 9:08 am   Subject: Gravsoft code - Fortran 95
Hello,

I have a simple program that reads a datafile in scanline format and writes out an XYZ file (longitude, latitude and value). Everything is set fine and the input and output files are read fi ...
  Topic: DISLIN issue through Plato
arctica

Replies: 6
Views: 5028

PostForum: Support   Posted: Tue Aug 13, 2013 8:39 pm   Subject:
Great Paul, that worked perfectly Smile

Cheers
Lester
  Topic: DISLIN issue through Plato
arctica

Replies: 6
Views: 5028

PostForum: Support   Posted: Tue Aug 13, 2013 7:06 pm   Subject:
Hi Paul,

Created a project and added the source and references as needed. The build still does not find the module path.

The DISLIN variable and path to the Windows folder (c:\dislin\win) is all ...
  Topic: DISLIN issue through Plato
arctica

Replies: 6
Views: 5028

PostForum: Support   Posted: Mon Aug 12, 2013 3:58 pm   Subject:
Hi Paul,

Checked the BuildLog and there is no MOD_PATH written

so gives the same error

Compiling and linking file: exa_f90.f90
C:\dislin\examples\exa_f90.F90(132) : error 404 - Cannot find d ...
  Topic: DISLIN issue through Plato
arctica

Replies: 6
Views: 5028

PostForum: Support   Posted: Sun Aug 11, 2013 4:44 pm   Subject: DISLIN issue through Plato
Hello,

Seem to have hit a bit of a random issue trying to compile code using the DISLIN graphics library through Plato.

The DISLIN library is all setup correctly:

DISLIN=c:\dislin

Path app ...
  Topic: dislin
arctica

Replies: 3
Views: 4295

PostForum: Support   Posted: Sun Aug 11, 2013 3:38 pm   Subject:
Hello,

Assuming you have got DISLIN installed properly:

c:\dislin

You need to ensure that the compile command line option is set to:

/MOD_PATH c:\dislin <------ sometimes this does ...
  Topic: Output issue with program build
arctica

Replies: 21
Views: 16076

PostForum: Support   Posted: Mon Aug 05, 2013 9:36 am   Subject:
Thanks for the pointers John. I will look through the code again and check what should and should not be real. There is no ,logic in having the matrix dimension declared real - does seem rather odd co ...
  Topic: Output issue with program build
arctica

Replies: 21
Views: 16076

PostForum: Support   Posted: Fri Aug 02, 2013 6:43 am   Subject:
It was downloaded code from the journal. I am pretty sure the subroutine FOURN is the same as that shown in the Blakely's book since the variable name declarations are identical. The program code did ...
  Topic: Output issue with program build
arctica

Replies: 21
Views: 16076

PostForum: Support   Posted: Thu Aug 01, 2013 3:12 pm   Subject:
Think I will go back and redo the subroutines from scratch rather than try to figure the logic of the published code. With a program that is a computation of a mathematical equation, it is important t ...
  Topic: Graphical Routines for FTN95
arctica

Replies: 2
Views: 3212

PostForum: General   Posted: Wed Jul 31, 2013 7:00 pm   Subject:
You should have a look at the DISLIN package. It is very versatile and not that difficult to learn the basics. Comes with plenty of examples too.

www.dislin.de
  Topic: Output issue with program build
arctica

Replies: 21
Views: 16076

PostForum: Support   Posted: Wed Jul 31, 2013 4:01 pm   Subject:
A test with real data is not working, throwing up a run-time error like before

Floating-point overflow via calls to FOURN and FFTDATA
004027a0 FOURN [+022c] line 264
004022f0 FFTDATA [+00da] li ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group