swmm-espanol - Tamaño Maximo de Archivo de Salida

32 views
Skip to first unread message

Mauricio Herrera

unread,
Oct 5, 2009, 11:45:59 AM10/5/09
to Grupo de Apoyo para usuarios de SWMM
Para la informacion del Grupo:
 
Lewis Rossman de la EPA confirma que la interface grafica de SWMM5 puede operar con archivos de salida de cualquier tamaño.
 
---------- Forwarded message ----------
From: <Rossma...@epamail.epa.gov>
Date: Mon, Oct 5, 2009 at 7:06 AM
Subject: Re: Fwd: swmm-espanol - 3 mensajes nuevos en el tema 1 - resumido
To: Mauricio Herrera <mau...@gmail.com>
Cc: Robert E Dickinson <robert.d...@gmail.com>


Yes, MAXFILESIZE is 2.14 GB. The "L" at the end means its a long integer
constant. Note that output_checkFileSize only gets called when no name
for a binary results file is provided to the engine (such as when the
command line version of SWMM is launched with just an input file name
and status report file name specified on the command line). However,
when the engine is run through the GUI, the GUI supplies the name for
the binary output file. Thus the output_checkFileSize routine does not
get called and there is no limit placed on the size of the binary output
file. The GUI uses 64-bit integers to access locations within the output
file to display results, and these integers are (essentially) of
unlimited size. (The engine can only use 32-bit integers to navigate
through the binary output file to create its time series report tables
written to the Status Report, because the engine is written in ANSI C
which does not support 64 bit integers (some C compilers do so on
specific platforms, but I wanted to keep the engine
platform-independent)).
--------------------------------------------------------------------------------------


Lewis Rossman
Environmental Scientist
Water Supply and Water Resources Division
U.S Environmental Protection Agency
email: rossma...@epa.gov



 From:       Mauricio Herrera <mau...@gmail.com>

 To:         Lewis Rossman/CI/USEPA/US@EPA

 Cc:         Robert E Dickinson <robert.d...@gmail.com>

 Date:       10/05/2009 09:28 AM

 Subject:    Re: Fwd: swmm-espanol - 3 mensajes nuevos en el tema 1 - resumido






thanks

Is the size defined below equal to 2.14GB? or what does the L at the end
mean?


#define


MAXFILESIZE 2147483647L // largest file size in bytes


//// New function added for release 5.0.015. //// //(5.0.015 - LR)


void


output_checkFileSize()


//


// Input: none


// Output: none


// Purpose: checks if the size of the binary output file will be too big


// to access using an integer file pointer variable.


//


{


if ( RptFlags.subcatchments != NONE ||


RptFlags.nodes != NONE ||


RptFlags.links != NONE )


{


if ( (double)OutputStartPos + (double)BytesPerPeriod * TotalDuration


/ 1000.0 / (


double)ReportStep >= (double)MAXFILESIZE )


{


report_writeErrorMsg(ERR_FILE_SIZE,


"");


}


}


}



On Mon, Oct 5, 2009 at 5:52 AM, <Rossma...@epamail.epa.gov> wrote:

 -----------------------
 Build 5.0.015 (4/10/09)
 -----------------------
 Engine Updates
 ...

 5.  The 2 GB binary output file size limit for runs made under the GUI
    that was inadvertently added into release 5.0.014 was removed
    (see output.c).
 --------------------------------------------------------------------------------------



 Lewis Rossman
 Environmental Scientist
 Water Supply and Water Resources Division
 U.S Environmental Protection Agency
 email: rossma...@epa.gov



  From:       Robert E Dickinson <robert.d...@gmail.com>

  To:         Lewis Rossman/CI/USEPA/US@EPA

  Cc:         Mauricio Herrera <mau...@gmail.com>

  Date:       10/04/2009 08:38 AM

  Subject:    Fwd: swmm-espanol - 3 mensajes nuevos en el tema 1 -
 resumido






 Hi Lew,

 The Spanish language SWMM 5 Google Group (Mauricio is the Admin) claim
 that the newer versions of SWMM 5 does not allow them to use read
 binary
 output files greater than 5 GB using the SWMM 5 GUI.  It was a little
 unclear to me but it seemed to allow the reading of the file sometimes
 but not on subsequent reads.

 I thought you might be interested.

 Thanks,
 Bob Dicknson



 ---------- Forwarded message ----------
 From: Grupo de swmm-espanol: <nor...@googlegroups.com>
 Date: 2009/10/4
 Subject: swmm-espanol - 3 mensajes nuevos en el tema 1 - resumido
 To: Suscriptores de correo con resúmenes de swmm-espanol <
 swmm-e...@googlegroups.com>



 Grupo de Apoyo para usuarios de SWMM (SWMM in Spanish/ SWMM en
 Español)
 swmm-e...@googlegroups.com

 http://groups.google.com/group/swmm-espanol?hl=es

  Temas más activos del día:



 * PROBLEMA CON LA GRABACIÓN DE ARCHIVOS .OUT - 3 nuevas
  http://groups.google.com/group/swmm-espanol/t/9728b092a5c8d4b6?hl=es




  Temas activos
 --------------

 PROBLEMA CON LA GRABACIÓN DE ARCHIVOS .OUT - 3 nuevos
 ------------------------------------------------------
 I'm using the GUI version of SWMM5. I will try the latest version
 (5.0.016).
 Thank you very much. - Mart 29 sep 2009 10:04
  3 mensajes , 2 autores
 http://groups.google.com/group/swmm-espanol/t/9728b092a5c8d4b6?hl=es



 ==============================================================================



  Has recibido este mensaje porque estás suscrito al grupo
  "Grupo de Apoyo para usuarios de SWMM (SWMM in Spanish/ SWMM en
 Español)" de
 Grupos de Google.

  Si deseas publicar entradas en este grupo, envía un mensaje de correo
 electrónico a swmm-e...@googlegroups.com o visita
 . http://groups.google.com/group/swmm-espanol?hl=es

  Para anular la suscripción a este grupo, envía un correo electrónico
 a
 swmm-espanol...@googlegroups.com

 . Para cambiar el modo de recepción del correo de este grupo, visita:
  http://groups.google.com/group/swmm-espanol/subscribe?hl=es

  Si deseas notificar un uso indebido del servicio, envíanos un mensaje
 de
 correo electrónico con la descripción del problema a
 ab...@googlegroups.com.


 ==============================================================================


  Grupos de Google: http://groups.google.com/?hl=es







Reply all
Reply to author
Forward
0 new messages