[ADMB Users] Reading More than 1 Data File with ADMB-IDE
CHRIS GRANDIN
cgrandin at shaw.ca
Thu Jul 18 07:28:31 PDT 2013
I figured that block (model17.cpp) was for cases where the user had changed the name on purpose, in which case you would not need to see a warning or message. If the datafile was missing altogether I think model7.cpp displays a message. I need to test this out.. Or if anyone would like to help, go ahead and build revision 1115
Chris
----- Original Message -----
From: "John Sibert" <sibert at hawaii.edu>
To: "CHRIS GRANDIN" <cgrandin at shaw.ca>
Cc: users at admb-project.org, "Ian Taylor - NOAA Federal" <ian.taylor at noaa.gov>
Sent: Wednesday, July 17, 2013 1:57:27 PM
Subject: Re: [ADMB Users] Reading More than 1 Data File with ADMB-IDE
Thanks, Chris. I was looking at a similar message in model7.cpp (not
seventeen) that remains unchanged.
Do we prefer no message to a warning?
John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Honolulu HI (GMT-10)
808-294-3842
Visit the ADMB project http://admb-project.org/
On 07/17/2013 10:38 AM, CHRIS GRANDIN wrote:
> I commented out the error message in the source (src/nh99/model17.cpp)
> Chris
>
> ----- Original Message -----
> From: "John Sibert" <sibert at hawaii.edu>
> To: "Ian Taylor - NOAA Federal" <ian.taylor at noaa.gov>
> Cc: users at admb-project.org
> Sent: Wednesday, July 17, 2013 1:14:56 PM
> Subject: Re: [ADMB Users] Reading More than 1 Data File with ADMB-IDE
>
> This apparently not a burning issue. No one seems to care enough to make
> a simple change in a message. It is not that difficult. The developer
> workshops have offered assistance in in modifying code. There are
> probably how-to on the project web site.
>
> Why have we gone to all the bother to create an open source project, if
> no one takes the time to make even the most trivial of changes to the code.
>
> John Sibert
> Emeritus Researcher, SOEST
> University of Hawaii at Manoa
> Honolulu HI (GMT-10)
> 808-294-3842
>
> Visit the ADMB project http://admb-project.org/
>
> On 07/09/2013 11:06 AM, Ian Taylor - NOAA Federal wrote:
>> This isn't something related to the ADMB-IDE specifically, but ADMB in
>> general. Splitting up your data into separate files is a great way to
>> make things tider.
>>
>> Try using this line to change data files:
>> ad_comm::change_datafile_name("Simple2.dat");
>>
>> A related question for the group: does anybody know how to turn off
>> the warning "Error trying to open data input file *.dat" in cases
>> where you choose not to use the default data file name at all?
>> -Ian
>>
>>
>> On Tue, Jul 9, 2013 at 10:03 AM, Newman, Ken <ken_newman at fws.gov
>> <mailto:ken_newman at fws.gov>> wrote:
>>
>> My apologies if the following is a FAQ (I did search the FAQ and
>> threads of previous postings but maybe not hitting upon the right
>> key words):
>>
>> How does one read into ADMB-IDE data that are coming from two
>> different files?
>>
>> For example, suppose my tpl file is Simple.tpl, and there are 2
>> data files, Simple1.dat and Simple2.dat. How do both data files
>> get "loaded"? Is there some "switch" or "command" within
>> DATA_SECTION?
>> For what it's worth, I'm fitting a state space model and it would
>> be "tidier" to have the covariates associated with the State
>> Process model separate from the response variables in the
>> Observation model portion.
>>
>> Ken
>>
>> --
>> Mathematical Statistician, USFWS
>> Primary Phone:
>> Monday-Wednesday + Friday, 916-930-5644 <tel:916-930-5644>
>> Thursday, 209-334-2968, ext 306 <tel:209-334-2968%2C%20ext%20306>
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org <mailto:Users at admb-project.org>
>> http://lists.admb-project.org/mailman/listinfo/users
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org
>> http://lists.admb-project.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
More information about the Users
mailing list