Re: [arts-users] Jacobian of surface temperature

2022-01-13 Thread Patrick Eriksson

Mattia,

I don't remember exactly when SurfaceBlackbody was introduced, but seems 
that you have a too old version not containing it. Oliver can you check?


What I can answer:

You are not really supposed to make changes in agendas_surface.arts. If 
you want to use an agenda setup not in agendas_surface.arts, you simply do


AgendaSet( surface_rtprop_agenda ){
 ...
}

in your own control file.

Yes, SurfaceFlatScalarReflectivity is supposed to support what you want 
to do. But that is a method I did but never got time to really used, so 
it is not heavily tested as far as I know.


Bye,

Patrick




On 2022-01-13 16:22, Mattia Sabatini wrote:

Dear all,

I am using ARTS to perform some radiative transfer simulations for my 
master degree. Currently I am in the process to edit the script 
TestHIRS_reference.arts such that it computes the jacobian of the 
surface temperature.


This script copies surface_rtprop_agenda__Blackbody_SurfTFromt_field 
into surface_rtprop_agenda, and for what I understand I have to edit 
this agenda in agendas_surface.arts from


AgendaCreate( surface_rtprop_agenda__Blackbody_SurfTFromt_field )

AgendaSet( surface_rtprop_agenda__Blackbody_SurfTFromt_field ){

   InterpAtmFieldToPosition( out=surface_skin_t, field=t_field )

   surfaceBlackbody

to

AgendaCreate( surface_rtprop_agenda__Blackbody_SurfTFromt_field )

AgendaSet( surface_rtprop_agenda__Blackbody_SurfTFromt_field ){

   InterpAtmFieldToPosition( out=surface_skin_t, field=t_field )

SurfaceBlackbody

i.e. replacing the method surfaceBlackbody with SurfaceBlackbody

But if I edit like this, after running the controlfile I get this error:

Executing ARTS.

Command line:

/usr/local/ARTS/build/src/arts -I ../../../controlfiles/ 
TestHIRS_reference.arts


Version: arts-2.4.0 (compiled Mon Dec  6 16:20:24 2021)

This run took 0.08s (0.40s CPU time)

Run-time error in controlfile: TestHIRS_reference.arts

Unknown Method:

SurfaceBlackbodySurfaceFlatScalarReflectivity

File:   /home/arts_user/controlfiles/general/agendas_surface.arts

Line:   41

Column: 3

Am I doing something wrong?

In addition, is there the possibility to do the same using the method 
 instead of


SurfaceBlackbody?

Mattia


___
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


[arts-users] Jacobian of surface temperature

2022-01-13 Thread Mattia Sabatini
Dear all,

I am using ARTS to perform some radiative transfer simulations for my master 
degree. Currently I am in the process to edit the script 
TestHIRS_reference.arts such that it computes the jacobian of the surface 
temperature.

This script copies surface_rtprop_agenda__Blackbody_SurfTFromt_field into 
surface_rtprop_agenda, and for what I understand I have to edit this agenda in 
agendas_surface.arts from

AgendaCreate( surface_rtprop_agenda__Blackbody_SurfTFromt_field )
AgendaSet( surface_rtprop_agenda__Blackbody_SurfTFromt_field ){
  InterpAtmFieldToPosition( out=surface_skin_t, field=t_field )
  surfaceBlackbody
to

AgendaCreate( surface_rtprop_agenda__Blackbody_SurfTFromt_field )
AgendaSet( surface_rtprop_agenda__Blackbody_SurfTFromt_field ){
  InterpAtmFieldToPosition( out=surface_skin_t, field=t_field )
SurfaceBlackbody

i.e. replacing the method surfaceBlackbody with SurfaceBlackbody

But if I edit like this, after running the controlfile I get this error:

Executing ARTS.
Command line:
/usr/local/ARTS/build/src/arts -I ../../../controlfiles/ TestHIRS_reference.arts
Version: arts-2.4.0 (compiled Mon Dec  6 16:20:24 2021)
This run took 0.08s (0.40s CPU time)
Run-time error in controlfile: TestHIRS_reference.arts
Unknown Method:
SurfaceBlackbody
File:   /home/arts_user/controlfiles/general/agendas_surface.arts
Line:   41
Column: 3

Am I doing something wrong?
In addition, is there the possibility to do the same using the method 
SurfaceFlatScalarReflectivity instead of 
SurfaceBlackbody?

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