Difference between revisions of "FLEXPART Model/AddingProjectOutput"

From mn/geo/geoit
Jump to: navigation, search
(Link the output to the flexpart directory)
(Link the output to the flexpart directory)
Line 12: Line 12:
 
# login as user flexpart ('%su flexpart')  
 
# login as user flexpart ('%su flexpart')  
 
# Go to the /xnilu_wrk/flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS directory
 
# Go to the /xnilu_wrk/flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS directory
# Create a soft link to the top level of your project. For example, if your projects are located at:
+
# Create a soft link to the top level of your project. For example, if your projects are located at: http://niflheim.nilu.no/~user/PROJECT/index.html
        http://niflheim.nilu.no/~user/PROJECT/index.html
 
 
Then do the following:
 
Then do the following:
<pre>
+
<pre>
%ln -s /homevip/user/public_html/PROJECT /flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS/.
+
%ln -s /homevip/user/public_html/PROJECT /flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS/.
</pre>
+
</pre>
 
# Make sure your directory permissions are properly set. (ALSO, be sure the linked directory is accessible 'outside')
 
# Make sure your directory permissions are properly set. (ALSO, be sure the linked directory is accessible 'outside')
'''NOTE''': /xnilu_wrk/nilu_wrkda directories will have to be linked by logging onto niflheim and using /nilu_wrk/nilu_wrkda
+
'''NOTE''': /xnilu_wrk/nilu_wrkda directories will have to be linked by logging onto niflheim and using /nilu_wrk/nilu_wrkda
 
# Confirm your PROJECT shows up: http://transport.nilu.no/flexpart-projects
 
# Confirm your PROJECT shows up: http://transport.nilu.no/flexpart-projects

Revision as of 16:42, 14 September 2011

Currently the standard output for flexpart is produced using the make_webpage scripts. In order to consolidate all scripts into one location for web browsing, we are using a template on this webpage. In order to incorporate the output from your own runs to the transport.nilu.no/flexpart-projects page, follow these instructions:

Run make_webpage scripts

  1. Run the make_webpage scripts as you normally would, producing the output into your own user directory.
  2. Verify all the webpages are complete and the products as you like them.
 *NOTE:* Make sure you include the 'Home' page link when creating the webpages, and that all links remain 'relative'

Link the output to the flexpart directory

  1. login as user flexpart ('%su flexpart')
  2. Go to the /xnilu_wrk/flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS directory
  3. Create a soft link to the top level of your project. For example, if your projects are located at: http://niflheim.nilu.no/~user/PROJECT/index.html

Then do the following:

 %ln -s /homevip/user/public_html/PROJECT /flex_wrk/WEB_PRODUCTS/CAMPAIGN_RUNS/.
 
  1. Make sure your directory permissions are properly set. (ALSO, be sure the linked directory is accessible 'outside')
NOTE: /xnilu_wrk/nilu_wrkda directories will have to be linked by logging onto niflheim and using /nilu_wrk/nilu_wrkda
  1. Confirm your PROJECT shows up: http://transport.nilu.no/flexpart-projects