Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Using sed to modify namelist.wps and maelist.input

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

methane-rain

New member
Quick question: is it possible to use sed in unix/linux to modify contents of the namelist.wps and namelist.input files since they aren't regular text files?

If not, is there a better way to edit those files without going in and changing the information by hand?

I'm looking to use some declared variables to change things like start date and run hours, etc.

Thanks!
 
Yes, you should be able to use sed. The namelists actually are regular text files. Did you give it a try?
 
Top