[MITgcm-support] Using biogeochemical package with #define READ_PAR

Manfredi Manizza mmanizza at ucsd.edu
Thu Jun 7 16:45:47 EDT 2012


Georges,

First question :

fortcom: Error: dic_fields_load.f, line 3187: This name does not have a 
type, and must have an explicit type.   [FILENAME1]
         IF ( Filename1 .NE. ' '  ) THEN
-------------^

Have you set your File1 in data.dic ?

Do you have in DIC_OPTIONS.h the option #define  READ_PAR ?

Reading your email I suspect the manual is not up to date because those 
input files have been moved into the code
for reading  data.dic rather than data.gchem.

This is what I have in data.gchem :

&GCHEM_PARM01
   useDIC=.TRUE.,
   nsubtime=1,
&

then all the files to be read are specified in data.dic

Second question :

if you are using EXF you have to comment with #undef in DIC_OPTIONS.h 
the READ_PAR line of code
and then #define USE_QSW because the solar radiation will be read by the
EXF package from the file you specificy in the file data.exf (NCEP, 
ECMWF, whatever...).
This worked for me for my polar configurations.

Generally, that value of Qsw is already masked
from sea-ice cover computed by the coupled sea-ice model.
I would go through the code carefully in the debugging phase about this 
to avoid that
you mask it twice reducing the value of Qsw (in bio_export.F) so that you
will underestimate the biological production in your computation.

I hope all I said makes sense and you will solve your problems.

Manfredi



On 6/7/12 11:32 AM, georges djoumna wrote:
> Dear MITgcm users,
> I doing a biogeochemical simulation with observed incoming solar 
> radiation data.
> When I use
> READ PAR: "read the light (photosynthetically available radiation) 
> from a file set in data.gchem." as is stated in the in the manual, i 
> get this error message
>
> fortcom: Error: dic_fields_load.f, line 3187: This name does not have 
> a type, and must have an explicit type.   [FILENAME1]
>         IF ( Filename1 .NE. ' '  ) THEN
> -------------^
>
> I am also using exf package, where I supply the short wave radiation 
> file, How can that be used also by the DIC package?
>
> Thanks
> -- 
> -----------------------------------------------------------
> Dr. Georges Djoumna
> Department of Applied Mathematics
> University of Waterloo
> Office MC 5135
> Waterloo, Ontario
> Canada N2L 3G1
>
> E-mail        : gdjoumna at gmail.com <mailto:gdjoumna at math.uwaterloo.ca>
> Office Phone  :  1 519 888 4567 Ext 36648
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support


-- 
Manfredi Manizza
Geosciences Research Division
Scripps Institution of Oceanography
University of California San Diego
9500 Gilman Drive
La Jolla, CA 92093-0220
email : mmanizza at ucsd.edu
tel   : +1-858-534-7094


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120607/38ec5d4c/attachment.htm>


More information about the MITgcm-support mailing list