[gradsusr] question about elements in array

Аня Романенко romashe4ka04 at rambler.ru
Wed Oct 14 09:54:17 EDT 2015


Hi to all!

I need to rewrite some array (which is written in .dat file) and some elements of
definite value in array I want to leave former, but all other elements must be
equal 1000. How I can do this?

I can only rewrite array in such a way that all elements will be equal 1000

For ex.:

'open top_bas_4km_1m_2f.ctl'

'set gxout fwrite'

'set fwrite topo_const.dat'

'd h.1-h.1+1000'

'disable fwrite'

(h - variable in first file)

Thanks in advance,Lukianova Ann.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151014/9667a345/attachment.html 


More information about the gradsusr mailing list