Difference between revisions of "Migrate experiment projects"

(Created page with "This page contains information on what to do if you want to change project to work at NCI. = Climate model experiments = *Payu experiment...")
 
Line 10: Line 10:
  
 
= Tips for other scripts =
 
= Tips for other scripts =
 +
  
 
== Find files with the project listed in ==
 
== Find files with the project listed in ==
  
To find all the files with the
+
To find all the files with the following command:
 +
<pre>grep --exclude=*.nc -irlI w35 <directory_name> > files_to_update.txt</pre>
 +
 
 +
<samp>files_to_update.txt </samp>will contain a list of files where <samp>w35</samp> appear in at least one line. The command will ignore binary files. It will also exclude netCDF files and you can exclude more files from the search (e.g. figures). Replace <samp><directory_name></samp> with the directory you want to search through.

Revision as of 19:21, 14 November 2021

This page contains information on what to do if you want to change project to work at NCI.

Climate model experiments

WRF does not have a standard experiment setup so we can't give specific instructions for this model.

Tips for other scripts

Find files with the project listed in

To find all the files with the following command:

grep --exclude=*.nc -irlI w35 <directory_name> > files_to_update.txt

files_to_update.txt will contain a list of files where w35 appear in at least one line. The command will ignore binary files. It will also exclude netCDF files and you can exclude more files from the search (e.g. figures). Replace <directory_name> with the directory you want to search through.