Re: [swanmodel-users] Wind file specification
Brought to you by:
mzijlema
|
From: Sandhya K G <san...@in...> - 2011-06-27 06:25:16
|
Dear Clayton and others, My problem is solved. I gave READINP WIND 1 SERIES 'windlist_may08_dec08' 3 0 FORMAT '(361F15.4)' whereas my 'windlist_may08_dec08' read as ./wind/OID05010000050100001.dat ./wind/OID05010000050103001.dat ............. ............. etc. Earlier my problem was that the directory in which wind was kept was very different from the working directory (in which SWAN was being run). Then I was specifying the whole path to that directory in my wind file name 'windlist_may08_dec08'. Later I understood that there is a restriction of 36 characters for the file names in SWAN. This is not only for the file name, but also for the path in the 'windlist_may08_dec08' file. When I gave a long path like '/gpfs1/osf/data/wind_data/Karwar/Forecast/2008' the program was reading only upto 36 characters of the path, and hence it was going wrong. When I specified the path within 36 characters, it worked fine. But still I want to know if I can change this restriction of 36 characters. Suppose I want to use 50 characters for the file names (or path). How to do it? Anyone got a clue??? Best Regards, Sandhya K G Scientist INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (Ministry of Earth Sciences, Govt. of India) "Ocean Valley", Pragathi Nagar (B.O), Nizampet (S.O), HYDERABAD-500 090. Ph : 040 23886036 url: http://www.incois.gov.in ________________________________________ From: Clayton Hiles [ce...@gm...] Sent: Tuesday, June 21, 2011 9:18 PM To: Sandhya K G Cc: swa...@li...; swa...@tu... Subject: Re: [swanmodel-users] Wind file specification Hi Sandhya, I am not too sure about this one, but SWAN may require that you specify the path to 'windlist' and the wind files relative to the swan working directory. For example, if your swan working directory is /gpfs1/osf/swan, try READINP WIND 1 SERIES '../wind/windlist' 3 0 FORMAT '(361F15.4)' I don't know if this will work. In my work I usually store all the wind data in a single, but I access it in a similar way to what I just explained. Probably worth a try anyway. Cheers, Clayton Hiles Triton Consultants Ltd. On 17 June 2011 03:22, Sandhya K G <san...@in...<mailto:san...@in...>> wrote: Dear All, I have wind files in a directory called 'wind', whose path is /gpfs1/osf/wind I am giving a time series wind. The filenames of the individual time steps are mentioned in a file called 'windlist', which is also present in the /gpfs1/osf/wind directory. In my .swn file, I mention the wind as READINP WIND 1 SERIES '/gpfs1/osf/wind/windlist' 3 0 FORMAT '(361F15.4)' The model fails to run. If I keep all the wind files as well as the file 'windlist' in the working directory (directory in which .swn file is present) then the same model runs with the change in the line READINP WIND 1 SERIES 'windlist' 3 0 FORMAT '(361F15.4)' Is there any limitation for SWAN that the input file such as wind, bottom file... should be present in the same directory as the directory in which .swn is present? Regards, Sandhya K G Scientist INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (Ministry of Earth Sciences, Govt. of India) "Ocean Valley", Pragathi Nagar (B.O), Nizampet (S.O), HYDERABAD-500 090. Ph : 040 23886036 url: http://www.incois.gov.in ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ swanmodel-users mailing list swa...@li...<mailto:swa...@li...> https://lists.sourceforge.net/lists/listinfo/swanmodel-users |