Re: [arts-users] basics of ATRS

2019-03-07 Thread Sisma Samuel
Thank you so much.

On Wed, Mar 6, 2019 at 5:38 PM Oliver Lemke 
wrote:

> Hi Sisma,
>
> > On 5 Mar 2019, at 18:25, Sisma Samuel  wrote:
> >
> > sir,
> > Thank you, I am a beginner i don't know how to compile .arts file. can
> you please  explain how to run a sample program,  for any example in
> classroom exercise of control files.
>
> Start by adding the arts/build/src directory to your search path variable.
> This way you can call the arts executable from anywhere without having to
> give the whole path. Starting from the toplevel ARTS directory, use this
> command to set the PATH and test if it worked:
>
> export PATH=$PWD/build/src:$PATH
> arts -v
>
> Now you can call ARTS with a controlfile. Try to run the TestClearSky:
>
> cd controlfiles/artscomponents/clearsky
> arts -r020 TestClearSky.arts
>
> You should see some log output and the message 'Everything seems fine.
> Goodbye.'.
>
> For the classroom examples, you also need the arts-xml-data package, which
> you can download here:
>
>
> http://www.radiativetransfer.org/misc/download/stable/2.2/arts-xml-data-2.2.5.tar.gz
>
> When running a classroom example, you need to tell arts where it can find
> the arts-xml-data package. Assuming you have unpacked it in your home
> directory, the command for
> controlfiles/classroom_exercises/exe1_absorption/ would look like this:
>
> cd controlfiles/artscomponents/clearsky
> arts -r020 -D$HOME/arts-xml-data-2.2.5 absorption.arts
>
> If you have arts-xml-data unpacked elsewhere, adapt the -D argument
> accordingly.
>
> Hope this helps,
> Oliver
>
>
> > I know IDL language, no one in my institute is currently using ARTS that
> is the reason why I am asking very basic questions.
> >
> > On Tue, Mar 5, 2019 at 3:56 PM Oliver Lemke 
> wrote:
> > Hi Sisma,
> >
> > > On 5 Mar 2019, at 11:02, Sisma Samuel  wrote:
> > >
> > > sir,
> > > I am a  degree student, I wish to learn ARTS, can any one suggest me
> few simple tutorials and user guides to start on.
> >
> > You can find user guides and articles about the features on the ARTS
> homepage at:
> >
> > http://www.radiativetransfer.org/docs/
> >
> > The ARTS source distribution contains a lot of example controlfiles that
> can help you to get started. For example,
> arts/controlfiles/artscomponents/clearsky/TestClearSky.arts shows how to do
> clearsky calculations in a 1D, 2D or 3D atmospheres.
> >
> > > I installed arts by following the guidelines in ARTS website and
> > > Features in this build:
> > >Numeric precision:double
> > >OpenMP support:   enabled
> > >Documentation server: enabled
> > >Zipped XML support:   enabled
> > >NetCDF support:   disabled
> > >Fortran support:  disabled
> > >Disort support:   disabled
> > >Refice support:   disabled
> > >Tmatrix support:  disabled
> > > Why certain features are not enabled  can any one help me and please
> give me valuable suggestions
> >
> > The features that need Fortran are disabled by default. The source
> distribution contains a README file that describes how to enable them in
> the "OPTIONAL FEATURES" section. Depending on what you wanna do with ARTS
> you might not even need them.
> >
> > Cheers,
> > Oliver
> >
> >
> >
> > --
> > Yours faithfully
> > Sisma Samuel.
>
>

-- 
Yours faithfully
Sisma Samuel
JRF, SPL, VSSC.
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] FASTEM in ARTS

2019-03-07 Thread Bliankinshtein, Natalia
Dear Patrick,

Thanks for your prompt reply! I would like to use FASTEM in a simple 1D forward 
model configuration, so no retrievals of surface properties will be needed. I 
am particularly interested in FASTEM6 - not sure how its versions align with 
those of ARTS. Also, I think a simple prescribing of surface wind, temperature 
and salinity as Numerics would be sufficient for my purposes. 

I have started building my controlfile upon the classroom exercise #2 (rtcalc)  
included in the release package, so if you could show me how to include FASTEM 
into that example, that would be just great. 
Please let me know if you need more info about the planned usage to give me a 
hint on this.

Thank you for your help,
Natalia



Natalia Bliankinshtein

Research Council Officer/Agent du Conseil de recherches
NRC Aerospace/CNRC Aérospatiale
National Research Council Canada/Conceil National de recherches Canada
1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
Bldg/Edifice U-61 | Rm/Ch. 233A
1920 Research Private
Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
natalia.bliankinsht...@nrc-cnrc.gc.ca


From: Patrick Eriksson 
Sent: March 7, 2019 2:43 AM
To: Bliankinshtein, Natalia; arts_users.mi@lists.uni-hamburg.de
Subject: Re: [arts-users] FASTEM in ARTS

Dear Natalia,

Yes, FASTEM is at hand, but it is a bit tricky to give a general answer.
It depends on e.g.

* Do you want to retrieve any surface properties?

* Do you want to set specific wind speeds etc, or do you want to obtain
wind speed etc. by interpolation from some data?

Can you give us some more information?

Bye,

Patrick



On 2019-03-06 20:51, Bliankinshtein, Natalia wrote:
> Dear ARTS users and developers,
>
>
> I have recently started learning ARTS and appreciate its extreme
> flexibility.
>
> According to the documentation, ARTS does not include an option of using
> FASTEM6 water surface model, however I see some evidence people have
> used it, for example here in Mr. Oliver Lemke's repository
> https://github.com/olemke/arts/tree/master/3rdparty/fastem and in Mr.
> Stuart Fox's email to the list in November 2018.
>
>
> I am struggling though to come up with a controlfile that would call
> FASTEM6. So I am kindly asking if anyone could please share a minimum
> working example of how to do that?
>
>
> Also, a workaround that could work for my purposes would be reading
> surface reflectivities from a file, which I tried. It seems to me,
> however, that surface emissivities are always computed as
> (1-reflectivity), which is not the case for FASTEM. Thus my question: is
> it possible to override surface emissivity and to read it from a file
> instead?
>
>
> Looking forward to hear your valuable advice.
>
>
> Best regards,
>
> Natalia
>
>
>
> *Natalia Bliankinshtein*
>
> Research Council Officer/Agent du Conseil de recherches
> NRC Aerospace/CNRC Aérospatiale
> National Research Council Canada/Conceil National de recherches Canada
> 1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
> Bldg/Edifice U-61 | Rm/Ch. 233A
> 1920 Research Private
> Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
> natalia.bliankinsht...@nrc-cnrc.gc.ca
>
>
>
> ___
> arts_users.mi mailing list
> arts_users.mi@lists.uni-hamburg.de
> https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi
>
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] FASTEM in ARTS

2019-03-07 Thread Patrick Eriksson

Dear Natalia,

Try this:

VectorCreate( trv )
NumericCreate( wind_speed )
NumericCreate( wind_dir )

AgendaSet( iy_surface_agenda ){
  SurfaceDummy
  specular_losCalc
  ppathCalc( rte_pos=rtp_pos, rte_los=specular_los )
  ArrayOfStringSet( iy_aux_vars, ["Optical depth"] )
  iyEmissionStandard
  transmittanceFromIy_aux( transmittance=trv )
  surfaceFastem( wind_speed=wind_speed, wind_direction=wind_dir, 
transmittance=trv )

  iySurfaceRtpropCalc
}

This should work. I have not actually made a test run (due to lack of 
time) but hopefully I have not missed any detail. (If you use this, you 
can ignore surface_rtprop_agenda).


FASTEM does not fit into the pattern of ARTS, as it wants the 
transmission as input. This makes the agenda definition a bit messy.


FASTEM 6 is default.

My suggestion uses the default for salinity, adopt if you want to use 
another value.


You need a quite recent version of ARTS 2.3 for this. I added the method 
transmittanceFromIy_aux not a long time ago.


Bye,

Patrick



On 2019-03-07 19:22, Bliankinshtein, Natalia wrote:

Dear Patrick,

Thanks for your prompt reply! I would like to use FASTEM in a simple 1D forward 
model configuration, so no retrievals of surface properties will be needed. I 
am particularly interested in FASTEM6 - not sure how its versions align with 
those of ARTS. Also, I think a simple prescribing of surface wind, temperature 
and salinity as Numerics would be sufficient for my purposes.

I have started building my controlfile upon the classroom exercise #2 (rtcalc)  
included in the release package, so if you could show me how to include FASTEM 
into that example, that would be just great.
Please let me know if you need more info about the planned usage to give me a 
hint on this.

Thank you for your help,
Natalia



Natalia Bliankinshtein

Research Council Officer/Agent du Conseil de recherches
NRC Aerospace/CNRC Aérospatiale
National Research Council Canada/Conceil National de recherches Canada
1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
Bldg/Edifice U-61 | Rm/Ch. 233A
1920 Research Private
Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
natalia.bliankinsht...@nrc-cnrc.gc.ca


From: Patrick Eriksson 
Sent: March 7, 2019 2:43 AM
To: Bliankinshtein, Natalia; arts_users.mi@lists.uni-hamburg.de
Subject: Re: [arts-users] FASTEM in ARTS

Dear Natalia,

Yes, FASTEM is at hand, but it is a bit tricky to give a general answer.
It depends on e.g.

* Do you want to retrieve any surface properties?

* Do you want to set specific wind speeds etc, or do you want to obtain
wind speed etc. by interpolation from some data?

Can you give us some more information?

Bye,

Patrick



On 2019-03-06 20:51, Bliankinshtein, Natalia wrote:

Dear ARTS users and developers,


I have recently started learning ARTS and appreciate its extreme
flexibility.

According to the documentation, ARTS does not include an option of using
FASTEM6 water surface model, however I see some evidence people have
used it, for example here in Mr. Oliver Lemke's repository
https://github.com/olemke/arts/tree/master/3rdparty/fastem and in Mr.
Stuart Fox's email to the list in November 2018.


I am struggling though to come up with a controlfile that would call
FASTEM6. So I am kindly asking if anyone could please share a minimum
working example of how to do that?


Also, a workaround that could work for my purposes would be reading
surface reflectivities from a file, which I tried. It seems to me,
however, that surface emissivities are always computed as
(1-reflectivity), which is not the case for FASTEM. Thus my question: is
it possible to override surface emissivity and to read it from a file
instead?


Looking forward to hear your valuable advice.


Best regards,

Natalia



*Natalia Bliankinshtein*

Research Council Officer/Agent du Conseil de recherches
NRC Aerospace/CNRC Aérospatiale
National Research Council Canada/Conceil National de recherches Canada
1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
Bldg/Edifice U-61 | Rm/Ch. 233A
1920 Research Private
Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
natalia.bliankinsht...@nrc-cnrc.gc.ca



___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] FASTEM in ARTS

2019-03-07 Thread Oliver Lemke
Hi Natalia,

Since you mentioned using classroom exercise #2 from the release package and 
Patrick suggesting to switch to the current development version instead, I'd 
like to point out that the exercises are not part of the ARTS package anymore. 
But you can find a separate arts-lectures package with up to date controlfiles 
in our SVN repository:

svn co https://arts.mi.uni-hamburg.de/svn/rt/arts-lectures/trunk arts-lectures

Cheers,
Oliver


> On 7 Mar 2019, at 20:21, Patrick Eriksson  
> wrote:
> 
> Dear Natalia,
> 
> Try this:
> 
> VectorCreate( trv )
> NumericCreate( wind_speed )
> NumericCreate( wind_dir )
> 
> AgendaSet( iy_surface_agenda ){
>  SurfaceDummy
>  specular_losCalc
>  ppathCalc( rte_pos=rtp_pos, rte_los=specular_los )
>  ArrayOfStringSet( iy_aux_vars, ["Optical depth"] )
>  iyEmissionStandard
>  transmittanceFromIy_aux( transmittance=trv )
>  surfaceFastem( wind_speed=wind_speed, wind_direction=wind_dir, 
> transmittance=trv )
>  iySurfaceRtpropCalc
> }
> 
> This should work. I have not actually made a test run (due to lack of time) 
> but hopefully I have not missed any detail. (If you use this, you can ignore 
> surface_rtprop_agenda).
> 
> FASTEM does not fit into the pattern of ARTS, as it wants the transmission as 
> input. This makes the agenda definition a bit messy.
> 
> FASTEM 6 is default.
> 
> My suggestion uses the default for salinity, adopt if you want to use another 
> value.
> 
> You need a quite recent version of ARTS 2.3 for this. I added the method 
> transmittanceFromIy_aux not a long time ago.
> 
> Bye,
> 
> Patrick
> 
> 
> 
> On 2019-03-07 19:22, Bliankinshtein, Natalia wrote:
>> Dear Patrick,
>> Thanks for your prompt reply! I would like to use FASTEM in a simple 1D 
>> forward model configuration, so no retrievals of surface properties will be 
>> needed. I am particularly interested in FASTEM6 - not sure how its versions 
>> align with those of ARTS. Also, I think a simple prescribing of surface 
>> wind, temperature and salinity as Numerics would be sufficient for my 
>> purposes.
>> I have started building my controlfile upon the classroom exercise #2 
>> (rtcalc)  included in the release package, so if you could show me how to 
>> include FASTEM into that example, that would be just great.
>> Please let me know if you need more info about the planned usage to give me 
>> a hint on this.
>> Thank you for your help,
>> Natalia
>> Natalia Bliankinshtein
>> Research Council Officer/Agent du Conseil de recherches
>> NRC Aerospace/CNRC Aérospatiale
>> National Research Council Canada/Conceil National de recherches Canada
>> 1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
>> Bldg/Edifice U-61 | Rm/Ch. 233A
>> 1920 Research Private
>> Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
>> natalia.bliankinsht...@nrc-cnrc.gc.ca
>> 
>> From: Patrick Eriksson 
>> Sent: March 7, 2019 2:43 AM
>> To: Bliankinshtein, Natalia; arts_users.mi@lists.uni-hamburg.de
>> Subject: Re: [arts-users] FASTEM in ARTS
>> Dear Natalia,
>> Yes, FASTEM is at hand, but it is a bit tricky to give a general answer.
>> It depends on e.g.
>> * Do you want to retrieve any surface properties?
>> * Do you want to set specific wind speeds etc, or do you want to obtain
>> wind speed etc. by interpolation from some data?
>> Can you give us some more information?
>> Bye,
>> Patrick
>> On 2019-03-06 20:51, Bliankinshtein, Natalia wrote:
>>> Dear ARTS users and developers,
>>> 
>>> 
>>> I have recently started learning ARTS and appreciate its extreme
>>> flexibility.
>>> 
>>> According to the documentation, ARTS does not include an option of using
>>> FASTEM6 water surface model, however I see some evidence people have
>>> used it, for example here in Mr. Oliver Lemke's repository
>>> https://github.com/olemke/arts/tree/master/3rdparty/fastem and in Mr.
>>> Stuart Fox's email to the list in November 2018.
>>> 
>>> 
>>> I am struggling though to come up with a controlfile that would call
>>> FASTEM6. So I am kindly asking if anyone could please share a minimum
>>> working example of how to do that?
>>> 
>>> 
>>> Also, a workaround that could work for my purposes would be reading
>>> surface reflectivities from a file, which I tried. It seems to me,
>>> however, that surface emissivities are always computed as
>>> (1-reflectivity), which is not the case for FASTEM. Thus my question: is
>>> it possible to override surface emissivity and to read it from a file
>>> instead?
>>> 
>>> 
>>> Looking forward to hear your valuable advice.
>>> 
>>> 
>>> Best regards,
>>> 
>>> Natalia
>>> 
>>> 
>>> 
>>> *Natalia Bliankinshtein*
>>> 
>>> Research Council Officer/Agent du Conseil de recherches
>>> NRC Aerospace/CNRC Aérospatiale
>>> National Research Council Canada/Conceil National de recherches Canada
>>> 1200 Montreal Rd, Ottawa (Ontario)  K1A 0R6
>>> Bldg/Edifice U-61 | Rm/Ch. 233A
>>> 1920 Research Private
>>> Tel.: (613) 998-5349 | Cellphone: (343) 549-4262
>>>