Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2022/12/09 23:39] – [Where is the tools directory?] adminfaq [2024/12/22 23:58] (current) – [How to convert to the new syntax?] admin
Line 1: Line 1:
-==== How to convert to the new syntax? ==== 
- 
-This is simple: We provide a Python script to translate from the old  
-syntax (before July 2014) to the new syntax (after July 2014): 
- 
-    python src_py/translate.py uvspec.inp > uvspecnew.inp 
- 
  
 ==== How serious are serious differences reported by "make check"? ==== ==== How serious are serious differences reported by "make check"? ====
Line 84: Line 77:
 before calling configure.  before calling configure. 
  
-==== I have problems compiling libRadtran under Mac OS X ====+==== I have problems compiling libRadtran under MacOS ====
  
-To be able to build the libRadtran C and Fortran libraries and associated +Please be assured that libRadtran works nicely under MacOS since some of the developers work on a Mac. To be able to build the libRadtran C and Fortran libraries and associated 
-tools, XCODE from apple is first needed. It either is included with +tools, you will need a number of packages provided by either  
-your computer on a DVD or you may get it from +[[https://www.macports.org|macports]] or [[https://brew.sh/index_de|Homebrew]]. Both build upon the Apple developer tools Xcode, available in the App Store. Please note that Xcode is not sufficient because it does not provide a Fortran compiler. 
  
-      http://developer.apple.com/tools/xcode/ +E.gfor macports that implies that you install the GNU C compiler,
- +
-The gcc that comes with xcode will not compile libRadtran. Thus, please install   +
-gcc and gfortran from http://www.macports.org using the port command (you have to install the port command first) in a terminal window: +
  
       sudo port install gcc       sudo port install gcc
  
-Also add the following lines to your .profile file and remember to "source .profile" afterwards.+and a number of other packages like the GNU Scientific Library  
 +(libgsl), the GNU Multiple Precision Library (libgmp), and the NetCDF library
  
-      export LDFLAGS="-L/opt/local/lib -L/usr/X11/lib" +      sudo port install gsl 
-      export CPPFLAGS="-I/opt/local/include -I/usr/X11/include" +      sudo port install gmp 
-      export PATH=/opt/local/bin:/opt/local/sbin:$PATH+      sudo port install netcdf 
 +      ...
  
-The rest is easy. Open a terminal under Max OS X and following the  +The rest is easy. Open a terminal under Max OS X and follow the standard libRadtran installation instructions.
-standard libRadtran instructions in the README file.+
  
-BUT THAT IS NOT ALL! 
  
-Alas, two things will be missing with the above installation procedure. Thus 
-not all functionality is included. To get the rest you need the gnu scientific library  
-(libgsl), the gnu multiple precision library (libgmp), and the (NETCDF)  
-Network Common Data Form) library 
  
-Get these also from http://www.macports.org and install with: 
- 
-      sudo port install gsl 
-      sudo port install gmp 
-      sudo port install netcdf 
  
 ==== How to implement loops in libRadtran ==== ==== How to implement loops in libRadtran ====
Line 188: Line 169:
 The most general method to setup your own aerosol (or cloud) properties is the following: The most general method to setup your own aerosol (or cloud) properties is the following:
  
-  profile_file 1D aer1 your_aerosol1.dat+  profile_file aer1 1D your_aerosol1.dat
   profile_properties aer1 your_aerosol1.cdf interpolate   profile_properties aer1 your_aerosol1.cdf interpolate
  
-  profile_file 1D aer2 your_aerosol2.dat+  profile_file aer2 1D your_aerosol2.dat
   profile_properties aer2 your_aerosol2.cdf interpolate   profile_properties aer2 your_aerosol2.cdf interpolate
  
 
 
faq.1670629170.txt.gz · Last modified: 2022/12/09 23:39 by admin
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki